Browse Source

Fixed setup.py, version bump

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.5.1
Erez Shinan 7 years ago
parent
commit
355afa8809
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      lark/__init__.py
  2. +1
    -1
      lark/parser_frontends.py
  3. +1
    -1
      setup.py

+ 1
- 1
lark/__init__.py View File

@@ -3,4 +3,4 @@ from .common import ParseError, GrammarError
from .lark import Lark
from .utils import inline_args

__version__ = "0.1.0"
__version__ = "0.1.1"

+ 1
- 1
lark/parser_frontends.py View File

@@ -75,6 +75,6 @@ class Earley2:
def parse(self, text):
res = self.parser.parse(text)
assert len(res) ==1 , 'Ambiguious Parse! Not handled yet'
return res[0]
return res[0]

ENGINE_DICT = { 'lalr': LALR, 'earley': Earley }

+ 1
- 1
setup.py View File

@@ -6,7 +6,7 @@ __version__ ,= re.findall('__version__ = "(.*)"', open('lark/__init__.py').read(
setup(
name = "lark-parser",
version = __version__,
packages = ['lark', 'tests', 'lark.parsers', 'examples', 'docs'],
packages = ['lark', 'lark.parsers'],

requires = [],
install_requires = [],


Loading…
Cancel
Save