OLD | NEW |
1 /* Driver template for the LEMON parser generator. | 1 /* Driver template for the LEMON parser generator. |
2 ** The author disclaims copyright to this source code. | 2 ** The author disclaims copyright to this source code. |
3 ** | 3 ** |
4 ** This version of "lempar.c" is modified, slightly, for use by SQLite. | 4 ** This version of "lempar.c" is modified, slightly, for use by SQLite. |
5 ** The only modifications are the addition of a couple of NEVER() | 5 ** The only modifications are the addition of a couple of NEVER() |
6 ** macros to disable tests that are needed in the case of a general | 6 ** macros to disable tests that are needed in the case of a general |
7 ** LALR(1) grammar but which are always false in the | 7 ** LALR(1) grammar but which are always false in the |
8 ** specific grammar used by SQLite. | 8 ** specific grammar used by SQLite. |
9 */ | 9 */ |
10 /* First off, code is included that follows the "include" declaration | 10 /* First off, code is included that follows the "include" declaration |
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
851 yy_destructor(yypParser,(YYCODETYPE)yymajor,&yyminorunion); | 851 yy_destructor(yypParser,(YYCODETYPE)yymajor,&yyminorunion); |
852 if( yyendofinput ){ | 852 if( yyendofinput ){ |
853 yy_parse_failed(yypParser); | 853 yy_parse_failed(yypParser); |
854 } | 854 } |
855 yymajor = YYNOCODE; | 855 yymajor = YYNOCODE; |
856 #endif | 856 #endif |
857 } | 857 } |
858 }while( yymajor!=YYNOCODE && yypParser->yyidx>=0 ); | 858 }while( yymajor!=YYNOCODE && yypParser->yyidx>=0 ); |
859 return; | 859 return; |
860 } | 860 } |
OLD | NEW |