diff options
author | Marc Coquand <marc@mccd.space> | 2024-01-12 08:01:25 -0600 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-01-12 08:01:25 -0600 |
commit | 20c5abba2f762e917503e3d613729f12607baf88 (patch) | |
tree | ab9eb3b897c60949483ea2db12c8f7ff382d7391 /lib/lexer.mll | |
parent | 014feebff76f5bb5e711a3897ed930d8e4f009c1 (diff) | |
download | fixgen-20c5abba2f762e917503e3d613729f12607baf88.tar.gz fixgen-20c5abba2f762e917503e3d613729f12607baf88.tar.bz2 fixgen-20c5abba2f762e917503e3d613729f12607baf88.zip |
Implement support for dates
Diffstat (limited to 'lib/lexer.mll')
-rw-r--r-- | lib/lexer.mll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/lexer.mll b/lib/lexer.mll index 1985c2d..1b24847 100644 --- a/lib/lexer.mll +++ b/lib/lexer.mll @@ -22,6 +22,9 @@ rule read = | "name" { NAME } | "increment" { INCREMENT } | "username" { USERNAME } + | "past" { PAST } + | "future" { FUTURE } + | "now" { NOW } | "int" { INTSYMBOL } | id { IDENTIFIER (Lexing.lexeme lexbuf) } | "(" { LBRACE } |