mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
binpac: Squash two rules into one with a wildcard
This commit is contained in:
parent
a7f14ed423
commit
cd7a2e9783
1 changed files with 1 additions and 6 deletions
|
@ -217,12 +217,7 @@ ESCSEQ (\\([^\n]|[0-7]{3}|x[[:xdigit:]]{2}))
|
||||||
return TOK_NUMBER;
|
return TOK_NUMBER;
|
||||||
}
|
}
|
||||||
|
|
||||||
<INITIAL,PP>{ID} {
|
<INITIAL,PP>{ID}(::{ID})* {
|
||||||
yylval.id = new ID(yytext);
|
|
||||||
return TOK_ID;
|
|
||||||
}
|
|
||||||
|
|
||||||
<INITIAL,PP>{ID}::{ID} {
|
|
||||||
yylval.id = new ID(yytext);
|
yylval.id = new ID(yytext);
|
||||||
return TOK_ID;
|
return TOK_ID;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue