diff --git a/src/scanner.l b/src/scanner.l index 019183c..f3d1825 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -45,7 +45,7 @@ ascii_char [^\"\n] escaped_char \\n|\\\" integer {digit}+ text \"({ascii_char}|{escaped_char})*\" -id @?({letter}|{digit})+ +id @?({letter}|{digit}|[\^\-])+ %%