aboutsummaryrefslogtreecommitdiff
path: root/src/interp/spad-parser.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/spad-parser.boot')
-rw-r--r--src/interp/spad-parser.boot16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/interp/spad-parser.boot b/src/interp/spad-parser.boot
index e2a33476..1e33482b 100644
--- a/src/interp/spad-parser.boot
+++ b/src/interp/spad-parser.boot
@@ -1039,29 +1039,19 @@ parseSpecialCommand rd ==
--%
-translateSpad x ==
+translateSpad(ifile,x) ==
$Index: local := 0
_*PRETTY_-PRINT_*: local := true
+ $InteractiveMode: local := false
$MACROASSOC: local := nil
$NEWSPAD: local := true
- $currentFunction: local := nil
- $topOp: local := nil
$semanticErrorStack: local := []
$warningStack: local := []
- $returnMode: local := $EmptyMode
- $leaveLevelStack: local := []
- $insideFunctorIfTrue: local := false
- $insideExpressionIfTrue: local := false
- $insideCoerceInteractiveHardIfTrue: local := false
- $insideWhereIfTrue: local := false
- $insideCategoryIfTrue: local := false
- $insideCapsuleFunctionIfTrue: local := false
- $form: local := nil
$e: local := $EmptyEnvironment
$genSDVar: local := 0
$previousTime: local := TEMPUS_-FUGIT()
$backend: local := function(x +-> PRINT_-FULL(x,$OutputStream))
- compileParseTree x
+ compileParseTree x
--%