Skip to content

Commit

Permalink
Little stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
erezsh committed Mar 9, 2017
1 parent 24f8656 commit 2dbf5d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lark/lexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def __init__(self, tokens, ignore=()):
try:
re.compile(t.pattern.to_regexp())
except:
raise LexError("Cannot compile token: %s: %s" % (t.name, t.pattern))
raise LexError("Cannot compile token %s: %s" % (t.name, t.pattern))

width = sre_parse.parse(t.pattern.to_regexp()).getwidth()
if width[0] == 0:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
setup(
name = "lark-parser",
version = __version__,
packages = ['lark', 'lark.parsers', 'lark.tools'],
packages = ['lark', 'lark.parsers', 'lark.tools', 'lark.grammars'],

requires = [],
install_requires = [],
Expand Down

0 comments on commit 2dbf5d7

Please sign in to comment.