mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 23:04:48 +08:00
Don't use the fast parser at the moment. It's more important for now to even get a parser working.
This commit is contained in:
@@ -137,7 +137,7 @@ On Linux, if environment variable ``$XDG_CACHE_HOME`` is set,
|
|||||||
# parser
|
# parser
|
||||||
# ----------------
|
# ----------------
|
||||||
|
|
||||||
fast_parser = True
|
fast_parser = False
|
||||||
"""
|
"""
|
||||||
Use the fast parser. This means that reparsing is only being done if
|
Use the fast parser. This means that reparsing is only being done if
|
||||||
something has been changed e.g. to a function. If this happens, only the
|
something has been changed e.g. to a function. If this happens, only the
|
||||||
|
|||||||
@@ -21,3 +21,4 @@ def test_basic_parsing():
|
|||||||
compare('\na #pass\n')
|
compare('\na #pass\n')
|
||||||
compare('wblabla* 1\t\n')
|
compare('wblabla* 1\t\n')
|
||||||
compare('def x(a, b:3): pass\n')
|
compare('def x(a, b:3): pass\n')
|
||||||
|
compare('assert foo\n')
|
||||||
|
|||||||
Reference in New Issue
Block a user