summaryrefslogtreecommitdiffstats
path: root/src/declinfo.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/declinfo.l')
-rw-r--r--src/declinfo.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declinfo.l b/src/declinfo.l
index 0c67a80..50924d7 100644
--- a/src/declinfo.l
+++ b/src/declinfo.l
@@ -113,7 +113,7 @@ ID ([a-z_A-Z][a-z_A-Z0-9]*)|(@[0-9]+)
%%
-<Start>"operator" { // operator rule must be before {ID} rule
+<Start>"operator"/({B}*"["{B}*"]")* { // operator rule must be before {ID} rule
name += yytext;
BEGIN(Operator);
}