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 colons.

This commit is contained in:
Ondrej Filip 2013-08-15 13:29:33 +02:00
parent f8e8fcfabe
commit 1f64a487a0

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