summaryrefslogtreecommitdiff
path: root/src/lib/lexer.mll
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2021-09-10 20:50:40 +0200
committerSébastien Dailly <sebastien@chimrod.com>2021-09-10 20:50:40 +0200
commit040c74ea186f195b8579960d2a74418c38cd9b76 (patch)
tree2bb882c2dc7c18b39bf27187119534e2bd96d302 /src/lib/lexer.mll
parent1ba97f613c25926f4007fda9e38131fbb8961173 (diff)
Added js code
Diffstat (limited to 'src/lib/lexer.mll')
-rw-r--r--src/lib/lexer.mll4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/lexer.mll b/src/lib/lexer.mll
index 2d6224c..2fbffb5 100644
--- a/src/lib/lexer.mll
+++ b/src/lib/lexer.mll
@@ -45,14 +45,14 @@ rule letter = parse
| 'x' { X }
| 'y' { Y }
| 'z' { Z }
-| ' ' { Space }
| ending { EOL }
| "erf" ending { ERF_ }
| "el" ending { EL_ }
-| "ent" ending { ENT_ }
+(*| "ent" ending { ENT_ }*)
| "ient" ending { IENT_ }
| "ie" ending { IE_ }
| "x" ending { X_ }
+| _ { Space (Lexing.lexeme lexbuf)}
(* This rule looks for a single line, terminated with '\n' or eof.
It returns a pair of an optional string (the line that was found)