meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
new_settings_in_javacc_21 [2021/12/20 15:01] – revusky | new_settings_in_javacc_21 [2021/12/20 15:04] – revusky | ||
---|---|---|---|
Line 6: | Line 6: | ||
* **EXTRA_TOKENS** This setting allows you to indicate some additional token types that are not defined with regular expressions in the lexical grammar. This can be useful particularly in token hook routines. | * **EXTRA_TOKENS** This setting allows you to indicate some additional token types that are not defined with regular expressions in the lexical grammar. This can be useful particularly in token hook routines. | ||
* **FAULT_TOLERANT** This turns on the experimental support for building a [[fault tolerant]] parser. It is off by default. | * **FAULT_TOLERANT** This turns on the experimental support for building a [[fault tolerant]] parser. It is off by default. | ||
- | * **PRESERVE_LINE_ENDINGS** This is true by default | + | * **PRESERVE_LINE_ENDINGS** This is now off by default. |
* **SMART_NODE_CREATION** This is the default behavior, so you would have to explicitly turn it off. It means that if no JJTree-style tree-building annotation is used, then a new Node will be created if there are more than one Nodes on the stack. So, a production like '' | * **SMART_NODE_CREATION** This is the default behavior, so you would have to explicitly turn it off. It means that if no JJTree-style tree-building annotation is used, then a new Node will be created if there are more than one Nodes on the stack. So, a production like '' | ||
* **SPECIAL_TOKENS_ARE_NODES** This sets whether to add so-called " | * **SPECIAL_TOKENS_ARE_NODES** This sets whether to add so-called " |