diff options
author | Paweł Dybiec <pdybiec@stud.cs.uni.wroc.pl> | 2018-11-08 19:05:20 +0100 |
---|---|---|
committer | Paweł Dybiec <pdybiec@stud.cs.uni.wroc.pl> | 2018-11-08 19:05:20 +0100 |
commit | 97a3d4c5cda16e5d3e666b6e9ab2e6ad80a98dd1 (patch) | |
tree | a1db6c76d5f8fd2e8f753ebf6d383d5eed207f5c /source | |
parent | Fix multi variable declaration (diff) |
Fix string lexing
Diffstat (limited to 'source')
-rw-r--r-- | source/mod_student/lexer.mll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/mod_student/lexer.mll b/source/mod_student/lexer.mll index bfc279a..1d5f9f2 100644 --- a/source/mod_student/lexer.mll +++ b/source/mod_student/lexer.mll @@ -86,7 +86,7 @@ let implode l = (* vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv * Miejsce na twoje reguły *) - | '"' str as e '"' { STRING (unescape e) } + | '"' (str as e) '"' { STRING (unescape e) } | "'" (chr as e) "'" { CHAR (unescape_chr e) } | "," { COMMA } | ";" { SEMICOLON } |