Skip to content
Snippets Groups Projects

Draft: Fortran Support

5 files
+ 34
27
Compare changes
  • Side-by-side
  • Inline

Files

@@ -68,7 +68,7 @@ class AllocCall(Instruction):
@@ -68,7 +68,7 @@ class AllocCall(Instruction):
@override
@override
def __str__(self):
def __str__(self):
if infvars.generator_language == "fort" and self._type not in type_adjust_fort:
if infvars.generation_target != "c" and self._type not in type_adjust_fort:
return "! FORTRAN_INCOMPATIBLE"
return "! FORTRAN_INCOMPATIBLE"
if self._use_malloc:
if self._use_malloc:
delim = '*'
delim = '*'
Loading