The parser_cache contents have changed. Therefore adapt.

This commit is contained in:
Dave Halter committed 2017-05-26 12:52:52 -04:00
1 parent 35e248091e
commit 76529ca34d
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -389,7 +389,7 @@ class BaseDefinition(object):
return ''
path = self._name.get_root_context().py__file__()
lines = parser_cache[path].lines
lines = parser_cache[self._evaluator.grammar._hashed][path].lines
line_nr = self._name.start_pos[0]
start_line_nr = line_nr - before