| « Prev 4.6 module statement - specifying the generated parser module name | Table of Contents | Next » 4.8 on_tree_node statement - custom initialization of a token tree node |
noline statement - disabling #line directivesBy default, Propane emits #line directives into the generated output around
user code blocks.
These directives instruct the compiler to report any warnings or errors in the
user code using the file name and line number of the original grammar file,
rather than the generated output file.
This makes it easier to locate the source of a compiler diagnostic in the
grammar file.
The noline statement disables the emission of these #line directives.
noline;
When the noline statement is present, user code blocks are copied to the
generated output without any surrounding #line directives.
This can be useful when debugging the generated parser itself, or when the
#line directives interfere with other tooling.
| « Prev 4.6 module statement - specifying the generated parser module name | Table of Contents | Next » 4.8 on_tree_node statement - custom initialization of a token tree node |