Symbol names enclosed by apostrophes can contain DOTs.

This commit is contained in:
Ondrej Filip 2013-02-10 19:17:38 +01:00
parent 0bc3542ab6
commit 8c4da7e01d

View file

@ -172,7 +172,7 @@ else: {
return ELSECOL; return ELSECOL;
} }
({ALPHA}{ALNUM}*|[']({ALNUM}|[-])*[']) { ({ALPHA}{ALNUM}*|[']({ALNUM}|[-]|[\.])*[']) {
if(*yytext == '\'') { if(*yytext == '\'') {
yytext[yyleng-1] = 0; yytext[yyleng-1] = 0;
yytext++; yytext++;