1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-11-14 01:45:35 +00:00

ASCII data: lexer compatibility fix

This commit is contained in:
Antonin Portelli 2015-09-08 11:34:40 +01:00
parent af3023038b
commit 2b0d75c012

View File

@ -84,7 +84,7 @@ BLANK [ \t]
<TYPE>mat {BEGIN(INITIAL); RETTOK(MAT);} <TYPE>mat {BEGIN(INITIAL); RETTOK(MAT);}
<TYPE>rs_sample {BEGIN(INITIAL); RETTOK(SAMPLE);} <TYPE>rs_sample {BEGIN(INITIAL); RETTOK(SAMPLE);}
<TYPE>rg_state {BEGIN(INITIAL); RETTOK(RG_STATE);} <TYPE>rg_state {BEGIN(INITIAL); RETTOK(RG_STATE);}
<*>\n {yylloc->last_column = 0;} <*>\r*\n {yylloc->last_column = 0;}
<*>[ \t] <*>[ \t]
<*>. {yylval->val_char = yytext[0]; RETTOK(ERR);} <*>. {yylval->val_char = yytext[0]; RETTOK(ERR);}