summaryrefslogtreecommitdiff
path: root/qface/idl/listener.py
diff options
context:
space:
mode:
Diffstat (limited to 'qface/idl/listener.py')
-rw-r--r--qface/idl/listener.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/qface/idl/listener.py b/qface/idl/listener.py
index 925e908..826f44f 100644
--- a/qface/idl/listener.py
+++ b/qface/idl/listener.py
@@ -34,6 +34,7 @@ class DomainListener(TListener):
self.field = None # type:Field
def parse_type(self, ctx: ParserRuleContext, type: TypeSymbol):
+ assert type
if not ctx.typeSymbol():
type.is_void = True
type.name = 'void'