}
default:
- lex_error (lexer, NULL);
+ lex_error (lexer, _("Syntax error parsing expression."));
return NULL;
}
}
15 | DO IF 0.
| ^~~~~~~~"
-"do-if.sps:20.7: error: DO IF: Syntax error.
+"do-if.sps:20.7: error: DO IF: Syntax error parsing expression.
20 | DO IF !.
| ^"
9 | LOOP B !.
| ^
-loop.sps:11.8: error: LOOP: Syntax error.
+loop.sps:11.8: error: LOOP: Syntax error parsing expression.
11 | LOOP B=!.
| ^
-loop.sps:13.13: error: LOOP: Syntax error.
+loop.sps:13.13: error: LOOP: Syntax error parsing expression.
13 | LOOP A=1 TO !.
| ^
-loop.sps:15.13: error: LOOP: Syntax error.
+loop.sps:15.13: error: LOOP: Syntax error parsing expression.
15 | LOOP A=1 BY !.
| ^
26 | LOOP IF 1 IF 0.
| ^~
-loop.sps:29.9: error: LOOP: Syntax error.
+loop.sps:29.9: error: LOOP: Syntax error parsing expression.
29 | LOOP IF !.
| ^
-loop.sps:33.13: error: LOOP: Syntax error.
+loop.sps:33.13: error: LOOP: Syntax error parsing expression.
33 | END LOOP IF !.
| ^
2 | REREAD COLUMN=1 COLUMN=**.
| ^~~~~~"
-"reread.sps:6.15-6.16: error: REREAD: Syntax error.
+"reread.sps:6.15-6.16: error: REREAD: Syntax error parsing expression.
6 | REREAD COLUMN=**.
| ^~"
3 | PRINT SPACE OUTFILE='out.txt' ENCODING=**.
| ^~"
-"print-space.sps:4.13-4.14: error: PRINT SPACE: Syntax error.
+"print-space.sps:4.13-4.14: error: PRINT SPACE: Syntax error parsing expression.
4 | PRINT SPACE **.
| ^~"
2 le 2 => true
-evaluate.sps:25.21: error: DEBUG EVALUATE: Syntax error.
+evaluate.sps:25.21: error: DEBUG EVALUATE: Syntax error parsing expression.
25 | DEBUG EVALUATE /2 < = 2.
| ^
2 ge 2 => true
-evaluate.sps:8.21: error: DEBUG EVALUATE: Syntax error.
+evaluate.sps:8.21: error: DEBUG EVALUATE: Syntax error parsing expression.
8 | DEBUG EVALUATE /2 > = 2.
| ^
'asdf ' ~= "asdf " => false
-evaluate.sps:41.21: error: DEBUG EVALUATE: Syntax error.
+evaluate.sps:41.21: error: DEBUG EVALUATE: Syntax error parsing expression.
41 | DEBUG EVALUATE /1 < > 1.
| ^