Compiler/lexical analyzer: Difference between revisions
m
→{{header|ALGOL 68}}: more helpful diagnostics
m (forgot weird capitalization in this site...) |
m (→{{header|ALGOL 68}}: more helpful diagnostics) |
||
Line 791:
ELSE output(shorter)
FI;
PROC error = (STRING s)VOID: (put(stand error, ("At ", whole(line,0), ":", whole(col,0), " ", s, new line)); stop);
PROC unrecognized = (INT char) VOID: error("Unrecognized character " + REPR char);
PROC double char = (INT first, STRING op) VOID:
|