Commit 14eff4f2 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Remove old NULL token

parent 02e9ded4
......@@ -1711,10 +1711,10 @@ def primary(root, context):
prim = ogAST.PrimBoolean()
prim.value = [root.text.lower()]
prim.exprType = type('PrBool', (object,), {'kind': 'BooleanType'})
elif root.type == lexer.NULL:
prim = ogAST.PrimNull()
prim.value = [root.text.lower()]
prim.exprType = type('PrNull', (object,), {'kind': 'NullType'})
# elif root.type == lexer.NULL:
# prim = ogAST.PrimNull()
# prim.value = [root.text.lower()]
# prim.exprType = type('PrNull', (object,), {'kind': 'NullType'})
elif root.type == lexer.FLOAT:
prim = ogAST.PrimReal()
prim.value = [root.text]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment