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.boot3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/interp/fortcall.boot b/src/interp/fortcall.boot
index 147323e2..42c6ba4d 100644
--- a/src/interp/fortcall.boot
+++ b/src/interp/fortcall.boot
@@ -215,8 +215,7 @@ printDec(type,dec,asps,fp) ==
writeXDR(v,str,fp) ==
-- Generate the calls to the filters which will read from the temp
-- file. The CHECK macro ensures that the translation worked.
- underscore := STRING CHAR('"__:",0) -- to avoid a compiler bug which won't
- -- parse " ... __" properly.
+ underscore := '"__"
wt(['" CHECK(xdr",underscore, XDRFun(v), '"(", str, '",&", first(v)],fp)
if (LISTP (ty :=second v)) and first ty ~= '"char" then
wt(['",&",first(v),'"__length,MAX__ARRAY(",first(v),'"__length),"],fp)