|
|
|
@ -56,8 +56,9 @@ include\(\".+\"\); {/*
|
|
|
|
|
<PARSE>\) COUT(MOREDEBUG)<<" CBRACE()"; return CBRACE; |
|
|
|
|
<PARSE>\; COUT(MOREDEBUG)<<" ENDL()"<<std::endl; BEGIN(0); return ENDL; |
|
|
|
|
<PARSE>= COUT(MOREDEBUG)<<" ASSIGN()"; return ASSIGN; |
|
|
|
|
<PARSE>, COUT(MOREDEBUG)<<" DELIM()"; return DELIM; |
|
|
|
|
<PARSE>([a-zA-Z][a-zA-Z0-9_]*\.)*[a-zA-Z][a-zA-Z0-9_]* COUT(MOREDEBUG)<<" IDENTIFIER("<<yytext<<")"; yylval_param->str=new std::string(yytext); return IDENTIFIER; |
|
|
|
|
<PARSE,INITIAL>[ ,\n\t] |
|
|
|
|
<PARSE,INITIAL>[ \n\t] |
|
|
|
|
<PARSE,INITIAL>\#.* |
|
|
|
|
<PARSE>\" BEGIN(PSTRING); str.erase(); |
|
|
|
|
<PARSE,INITIAL>. COUT(ERROR)<<"Unknown symbol "<<yytext<<" in file "<<yyextra->filename<<" at line "<<yylineno<<std::endl; yyterminate(); return -1; |
|
|
|
|