From 4d0d13359be1ab2b92c4f7014aa86f7d43d38d9b Mon Sep 17 00:00:00 2001 From: cfreksen Date: Mon, 30 Oct 2017 00:57:58 +0100 Subject: [PATCH] Fix small bug around null in parser. --- parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.py b/parser.py index b1fdc23..e08b1f2 100644 --- a/parser.py +++ b/parser.py @@ -442,7 +442,7 @@ class LLVMParser(object): def p_operand_null(self, p): 'operand : NULL' - p[0] = ll.Null + p[0] = ll.Null() def p_operand_const(self, p): 'operand : INT'