Commit 352a37af authored by Henning Glawe's avatar Henning Glawe
Browse files

implement nomad_dtypeStr for AST_datatype_primitive

parent a5af14ac
......@@ -283,7 +283,15 @@ class AST_datatype(AST_node):
class AST_datatype_primitive(AST_datatype):
dtype2nomad = {
'char': 'C',
'int': 'i',
'real': 'f',
'logical': 'b',
def nomad_dtypeStr(self):
return self.dtype2nomad[]
class AST_datatype_struct(AST_datatype):
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