Fix line numbers in tables.

This commit is contained in:
Wilson Snyder 2020-04-24 19:34:26 -04:00
parent e2cbcd37d8
commit 5e575f5906

View File

@ -938,6 +938,7 @@ vnum {vnum1}|{vnum2}|{vnum3}|{vnum4}|{vnum5}
<TABLE>{crnl} { yymore(); }
<TABLE>";" { FL; yylval.strp = PARSEP->newString(yytext, yyleng); return yaTABLELINE; }
<TABLE>"endtable" { yy_pop_state(); FL; return yENDTABLE; }
<TABLE>"`line"{ws}+[^\n\r]*{crnl} { FL_FWD; PARSEP->ppline(yytext); FL_BRK; }
<TABLE>. { yymore(); }
<TABLE><<EOF>> { FL_FWD; yyerrorf("EOF in TABLE");
yyleng = 0; yy_pop_state(); FL_BRK; yyterminate(); }