Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Corrections to Lemon documentation. No SQLite changes. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
c568ae3eef31b49e846fad90e705914e |
User & Date: | drh 2016-10-08 13:34:08.299 |
Context
2016-10-08
| ||
16:10 | Update test/trace3.test to account for the fact that casting a pointer to a 64-bit signed integer might produce a negative value. (check-in: 010ec22541 user: dan tags: trunk) | |
13:34 | Corrections to Lemon documentation. No SQLite changes. (check-in: c568ae3eef user: drh tags: trunk) | |
11:55 | Add missing "static" to internal function whereRangeVectorLen(). (check-in: cbed3d75cf user: dan tags: trunk) | |
Changes
Changes to doc/lemon.html.
︙ | ︙ | |||
81 82 83 84 85 86 87 | <li><b>-D<i>name</i></b> Define C preprocessor macro <i>name</i>. This macro is useable by "%ifdef" lines in the grammar file. <li><b>-g</b> Do not generate a parser. Instead write the input grammar to standard output with all comments, actions, and other extraneous text removed. <li><b>-l</b> | | | 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | <li><b>-D<i>name</i></b> Define C preprocessor macro <i>name</i>. This macro is useable by "%ifdef" lines in the grammar file. <li><b>-g</b> Do not generate a parser. Instead write the input grammar to standard output with all comments, actions, and other extraneous text removed. <li><b>-l</b> Omit "#line" directives in the generated parser C code. <li><b>-m</b> Cause the output C source code to be compatible with the "makeheaders" program. <li><b>-p</b> Display all conflicts that are resolved by <a href='#precrules'>precedence rules</a>. <li><b>-q</b> |
︙ | ︙ | |||
925 926 927 928 929 930 931 | token structure. Like this:</p> <p><pre> %token_type {Token*} </pre></p> <p>If the data type of terminals is not specified, the default value | | | 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 | token structure. Like this:</p> <p><pre> %token_type {Token*} </pre></p> <p>If the data type of terminals is not specified, the default value is "void*".</p> <p>Non-terminal symbols can each have their own data types. Typically the data type of a non-terminal is a pointer to the root of a parse-tree structure that contains all information about that non-terminal. For example:</p> <p><pre> |
︙ | ︙ |