aboutsummaryrefslogtreecommitdiff
path: root/src/interp/fortcall.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/fortcall.boot')
-rw-r--r--src/interp/fortcall.boot4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interp/fortcall.boot b/src/interp/fortcall.boot
index 85d2eaa7..7a57359a 100644
--- a/src/interp/fortcall.boot
+++ b/src/interp/fortcall.boot
@@ -567,7 +567,7 @@ prepareResults(results,args,dummies,values,decls) ==
type := getFortranType(u,decls)
data := [defaultValue(type,inFirstNotSecond(args,dummies),values),:data]
where defaultValue(type,argNames,actual) ==
- LISTP(type) and first(type)="character" => MAKE_-STRING(1)
+ LISTP(type) and first(type)="character" => makeString 1
LISTP(type) and first(type) in ["complex","double complex"] =>
makeVector( makeList(
2*apply('_*,[getVal(tt,argNames,actual) for tt in rest(type)]),_
@@ -583,7 +583,7 @@ prepareResults(results,args,dummies,values,decls) ==
type = "double" => longZero
type = "double precision" => longZero
type = "logical" => 0
- type = "character" => MAKE_-STRING(1)
+ type = "character" => makeString 1
type = "complex" => makeVector([shortZero,shortZero],"%SingleFloat")
type = "double complex" => makeVector([longZero,longZero],"%DoubleFloat")
error ['"Unrecognised Fortran type: ",type]