From a7f14ed423bdce6eb2ebd21ea9b7b3dfacde1a56 Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Mon, 15 Jun 2020 18:34:42 -0700 Subject: [PATCH] binpac: Allow namespaced names as typenames for function return values --- tools/binpac/src/pac_scan.ll | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/binpac/src/pac_scan.ll b/tools/binpac/src/pac_scan.ll index 8ffd90fd1a..7eab510cee 100644 --- a/tools/binpac/src/pac_scan.ll +++ b/tools/binpac/src/pac_scan.ll @@ -222,6 +222,11 @@ ESCSEQ (\\([^\n]|[0-7]{3}|x[[:xdigit:]]{2})) return TOK_ID; } +{ID}::{ID} { + yylval.id = new ID(yytext); + return TOK_ID; + } + "$"{ID} { yylval.id = new ID(yytext); return TOK_ID;