Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Kappa-Dev/KappaTools
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérôme FERET committed Aug 30, 2023
2 parents db120ac + 41ddf77 commit 3e5eb6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/grammar/klexer4.mll
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ rule token = parse
| integer as n { INT (int_of_string n) }
| real as f { FLOAT (float_of_string f) }
| '\'' ([^'\n' '\'']+ as x) '\''{ LABEL(x) }
| '\"' ([^'\n' '\"']+ as x) '\"'{ STRING(x) }
| '\"' ([^'\n' '\"']* as x) '\"'{ STRING(x) }
| '\'' ([^'\n' '\'']+ as s) (eof | '\n')
{ raise (ExceptionDefn.Syntax_Error
("Unterminated label: "^s,
Expand Down

0 comments on commit 3e5eb6e

Please sign in to comment.