0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

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++;