From 97a3d4c5cda16e5d3e666b6e9ab2e6ad80a98dd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Dybiec?= Date: Thu, 8 Nov 2018 19:05:20 +0100 Subject: Fix string lexing --- source/mod_student/lexer.mll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3