mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
binpac: Allow namespaced names as typenames for function return values
This commit is contained in:
parent
9de6212dda
commit
a7f14ed423
1 changed files with 5 additions and 0 deletions
|
@ -222,6 +222,11 @@ ESCSEQ (\\([^\n]|[0-7]{3}|x[[:xdigit:]]{2}))
|
||||||
return TOK_ID;
|
return TOK_ID;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<INITIAL,PP>{ID}::{ID} {
|
||||||
|
yylval.id = new ID(yytext);
|
||||||
|
return TOK_ID;
|
||||||
|
}
|
||||||
|
|
||||||
<INITIAL>"$"{ID} {
|
<INITIAL>"$"{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