Skip to content

Commit

Permalink
basic: fix test for macro in eval_ast merge
Browse files Browse the repository at this point in the history
  • Loading branch information
asarhaddon committed Nov 13, 2024
1 parent 44503b5 commit af8d7fc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion impls/basic/step8_macros.in.bas
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ SUB EVAL
IF T=14 THEN F=Z%(F+1):GOSUB TYPE_F
IF T<9 OR T>11 THEN ER=-1:E$="apply of non-function":GOTO EVAL_RETURN

IF T<>11 THEN GOTO EVAL_DO_MACRO
IF T=11 THEN GOTO EVAL_DO_MACRO

REM evaluate the arguments
Q=F:GOSUB PUSH_Q
Expand Down
2 changes: 1 addition & 1 deletion impls/basic/step9_try.in.bas
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ SUB EVAL
IF T=14 THEN F=Z%(F+1):GOSUB TYPE_F
IF T<9 OR T>11 THEN ER=-1:E$="apply of non-function":GOTO EVAL_RETURN

IF T<>11 THEN GOTO EVAL_DO_MACRO
IF T=11 THEN GOTO EVAL_DO_MACRO

REM evaluate the arguments
Q=F:GOSUB PUSH_Q
Expand Down
2 changes: 1 addition & 1 deletion impls/basic/stepA_mal.in.bas
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ SUB EVAL
IF T=14 THEN F=Z%(F+1):GOSUB TYPE_F
IF T<9 OR T>11 THEN ER=-1:E$="apply of non-function":GOTO EVAL_RETURN

IF T<>11 THEN GOTO EVAL_DO_MACRO
IF T=11 THEN GOTO EVAL_DO_MACRO

REM evaluate the arguments
Q=F:GOSUB PUSH_Q
Expand Down

0 comments on commit af8d7fc

Please sign in to comment.