Commit 1bff2338 authored by dbarbera's avatar dbarbera
Browse files

Added real values generation

parent dacb0807
......@@ -335,7 +335,7 @@ def _integer(primary):
@expression.register(ogAST.PrimReal)
def _real(primary):
''' Generate code for a raw real value '''
raise NotImplementedError
return core.Constant.real(core.Type.double(), primary.value[0])
@expression.register(ogAST.PrimBoolean)
......
Supports Markdown
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