diff options
-rw-r--r-- | src/scanner.l | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l index f94e4f8..e36b36d 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -1390,6 +1390,10 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) current->explicitExternal = TRUE; lineCount(); } +<FindMembers>{B}*"const"{BN}+ { current->type += " const "; + if (insideCS) current->stat = TRUE; + lineCount(); + } <FindMembers>{B}*"virtual"{BN}+ { current->type += " virtual "; current->virt = Virtual; lineCount(); |