diff options
| author | William Hergès <william@herges.fr> | 2025-11-09 13:23:05 +0100 |
|---|---|---|
| committer | William Hergès <william@herges.fr> | 2025-11-09 13:23:05 +0100 |
| commit | 3b0cc79dee76244da55d2326cc4244a384d85e44 (patch) | |
| tree | 7a2819f658fe987f942633ad82997a75850e16ef /src/elixir_math_parser_lexer.xrl | |
| parent | 8f9730d89e66ab1cbf08cbc0dea2a429d135e0da (diff) | |
feat(calc)): supports factorial
Diffstat (limited to 'src/elixir_math_parser_lexer.xrl')
| -rw-r--r-- | src/elixir_math_parser_lexer.xrl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/elixir_math_parser_lexer.xrl b/src/elixir_math_parser_lexer.xrl index facf323..5bdcbef 100644 --- a/src/elixir_math_parser_lexer.xrl +++ b/src/elixir_math_parser_lexer.xrl @@ -13,6 +13,7 @@ Rules. \= : {token, {'=', TokenLine}}. \( : {token, {'(', TokenLine}}. \) : {token, {')', TokenLine}}. +! : {token, {'!', TokenLine}}. {BREAK}+ : {token, {break, TokenLine}}. {NAME} : {token, {var, TokenLine, TokenChars}}. {INT} : {token, {int, TokenLine, TokenChars}}. |
