Skip to content

Commit

Permalink
Added support for accented-latin in unquoted strings (Issue #96)
Browse files Browse the repository at this point in the history
  • Loading branch information
erezsh committed Jan 19, 2020
1 parent fcd1948 commit f5c6ec3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mappyfile/mapfile.lalr.g
Expand Up @@ -117,8 +117,8 @@ INT: /[0-9]+(?![_a-zA-Z])/
%import common.FLOAT
// UNQUOTED_STRING: /[a-z_][a-z0-9_\-]*/i
UNQUOTED_STRING: /[a-z0-9_\-:]+/i
UNQUOTED_STRING_SPACE: /[a-z0-9_\-: ]+/i
UNQUOTED_STRING: /[a-z0-9_\xc0-\xff\-:]+/i
UNQUOTED_STRING_SPACE: /[a-z0-9\xc0-\xff_\-: ]+/i
DOUBLE_QUOTED_STRING: "\"" ("\\\""|/[^"]/)* "\"" "i"?
SINGLE_QUOTED_STRING: "'" ("\\'"|/[^']/)* "'" "i"?
ESCAPED_STRING: /`.*?`i?/
Expand Down
1 change: 0 additions & 1 deletion tests/test_expressions.py
Expand Up @@ -407,7 +407,6 @@ def test_class_not_expression_no_brackets():
assert(output(s) == exp)


@pytest.mark.xfail
def test_unquoted_unicode_string():
"""
See pull request #92 - French unquoted string
Expand Down

0 comments on commit f5c6ec3

Please sign in to comment.