From fe075d0d06430114a830beefef08584de543ebff Mon Sep 17 00:00:00 2001 From: Nicolas Boulenguez Date: Fri, 15 Nov 2024 21:29:04 +0100 Subject: [PATCH] basic: cosmetic no-op changes preparing the merge of macroexpand into EVAL --- impls/basic/step2_eval.in.bas | 18 +++++++++++++++--- impls/basic/step3_env.in.bas | 18 +++++++++++++++--- impls/basic/step4_if_fn_do.in.bas | 4 +++- impls/basic/step5_tco.in.bas | 4 +++- impls/basic/step6_file.in.bas | 4 +++- impls/basic/step7_quote.in.bas | 4 +++- impls/basic/step8_macros.in.bas | 3 ++- impls/basic/step9_try.in.bas | 3 ++- impls/basic/stepA_mal.in.bas | 3 ++- 9 files changed, 48 insertions(+), 13 deletions(-) diff --git a/impls/basic/step2_eval.in.bas b/impls/basic/step2_eval.in.bas index f3501d1bfa..b7fa00ec51 100755 --- a/impls/basic/step2_eval.in.bas +++ b/impls/basic/step2_eval.in.bas @@ -102,6 +102,7 @@ SUB EVAL GOTO EVAL_RETURN APPLY_LIST: + GOSUB EMPTY_Q IF R THEN R=A:GOSUB INC_REF_R:GOTO EVAL_RETURN @@ -116,11 +117,22 @@ SUB EVAL F=Z%(R+2) GOSUB TYPE_F - IF T<>9 THEN R=-1:ER=-1:E$="apply of non-function":GOTO EVAL_INVOKE_DONE - GOSUB DO_FUNCTION + + REM ON .. GOTO here reduces the diff with later steps. + T=T-8 + IF 09 THEN R=-1:ER=-1:E$="apply of non-function":GOTO EVAL_INVOKE_DONE - GOSUB DO_FUNCTION + + REM ON .. GOTO here reduces the diff with later steps. + T=T-8 + IF 0