diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-09-12 15:31:59 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-09-12 15:32:04 -0700 |
| commit | ea310306d73e0bc6542f7133825549ae4471b06a (patch) | |
| tree | fcc2a5a868fe09fb599d8261f66dad96ac69bb0b /parser.moon | |
| parent | 9e10c8bf006f42e90a011b8f9284e3ffa52a5859 (diff) | |
Initial working version.
Diffstat (limited to 'parser.moon')
| -rw-r--r-- | parser.moon | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.moon b/parser.moon index 0e68b4d..f2e5b17 100644 --- a/parser.moon +++ b/parser.moon @@ -21,7 +21,7 @@ NOMSU_DEFS = with {} .escaped_char = (P("\\")*S("xX")*C(hex*hex)) / => string.char(tonumber(@, 16)) .escaped_char += (P("\\")*C(digit*(digit^-2))) / => string.char(tonumber @) .escaped_char += (P("\\")*C(S("ntbavfr"))) / string_escapes - .operator_char = S("'`~!@$^&*-+=|<>?/") + .operator_char = S("'`~!@$^&*+=|<>?/-") .utf8_char = ( R("\194\223")*R("\128\191") + R("\224\239")*R("\128\191")*R("\128\191") + |
