More test fixes.

This commit is contained in:
Dave Halter committed 2016-05-31 01:12:07 +02:00
1 parent c12dbe0b9e
commit ad8d730a57
6 files changed
+27 -17

No files matched your search

+1 -1
View File
@@ -136,7 +136,7 @@ class Completion:
try:
stack = helpers.get_stack_at_position(grammar, self._source, self._module, pos)
except helpers.OnErrorLeaf:
return []
return self._simple_complete(completion_parts)
allowed_keywords, allowed_tokens = \
helpers.get_possible_completion_types(grammar, stack)