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 /* First off, code is included that follows the "include" declaration | 4 /* First off, code is included that follows the "include" declaration |
5 ** in the input grammar file. */ | 5 ** in the input grammar file. */ |
6 #include <stdio.h> | 6 #include <stdio.h> |
7 %% | 7 %% |
8 /* Next is all token values, in a form suitable for use by makeheaders. | 8 /* Next is all token values, in a form suitable for use by makeheaders. |
9 ** This section will be null unless lemon is run with the -m switch. | 9 ** This section will be null unless lemon is run with the -m switch. |
10 */ | 10 */ |
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
841 yy_destructor(yypParser,(YYCODETYPE)yymajor,&yyminorunion); | 841 yy_destructor(yypParser,(YYCODETYPE)yymajor,&yyminorunion); |
842 if( yyendofinput ){ | 842 if( yyendofinput ){ |
843 yy_parse_failed(yypParser); | 843 yy_parse_failed(yypParser); |
844 } | 844 } |
845 yymajor = YYNOCODE; | 845 yymajor = YYNOCODE; |
846 #endif | 846 #endif |
847 } | 847 } |
848 }while( yymajor!=YYNOCODE && yypParser->yyidx>=0 ); | 848 }while( yymajor!=YYNOCODE && yypParser->yyidx>=0 ); |
849 return; | 849 return; |
850 } | 850 } |
OLD | NEW |