diff options
| author | dos-reis <gdr@axiomatics.org> | 2009-04-12 03:49:24 +0000 |
|---|---|---|
| committer | dos-reis <gdr@axiomatics.org> | 2009-04-12 03:49:24 +0000 |
| commit | 865463536e19a517fecb78ddc9bfdfa4088e0b71 (patch) | |
| tree | e837984ccbb6d5ca1a6e1eb7fe742f53539aba14 /src/interp | |
| parent | 2fe793e09e8508311fa2bfda4870edc288fa0495 (diff) | |
| download | open-axiom-865463536e19a517fecb78ddc9bfdfa4088e0b71.tar.gz | |
Fix SF/2754400
* interp/setvars.boot (setOutputFortran): Transform pathname from
symbol to string.
* testsuite/interpreter/sf-2754400.input: New.
Diffstat (limited to 'src/interp')
| -rw-r--r-- | src/interp/fortcall.boot | 3 | ||||
| -rw-r--r-- | src/interp/setvars.boot | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/interp/fortcall.boot b/src/interp/fortcall.boot index a8322d8f..78918e52 100644 --- a/src/interp/fortcall.boot +++ b/src/interp/fortcall.boot @@ -35,6 +35,9 @@ import sys_-macros namespace BOOT +--% +$nagMessages := nil + makeVector(elts, t) == MAKE_-ARRAY(#elts, KEYWORD::ELEMENT_-TYPE, t or true, KEYWORD::INITIAL_-CONTENTS, elts) diff --git a/src/interp/setvars.boot b/src/interp/setvars.boot index c131154c..6d79f999 100644 --- a/src/interp/setvars.boot +++ b/src/interp/setvars.boot @@ -1,6 +1,6 @@ -- Copyright (c) 1991-2002, The Numerical Algorithms Group Ltd. -- All rights reserved. --- Copyright (C) 2007-2008, Gabriel Dos Reis. +-- Copyright (C) 2007-2009, Gabriel Dos Reis. -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without @@ -1193,6 +1193,7 @@ setOutputFortran arg == $fortranOutputFile := '"CONSOLE" (arg is [fn,ft]) or (arg is [fn,ft,fm]) => -- aha, a file + fn := STRING fn if (ptype := pathnameType fn) then fn := STRCONC(pathnameDirectory fn,pathnameName fn) ft := ptype |
