diff options
| author | Toby Goodwin <LibreSoftwareDesign@gmail.com> | 2012-10-04 22:54:20 +0100 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:24 +0100 |
| commit | d1f7167ce21da3e3f4ee051b2fdd24fc9607bbdc (patch) | |
| tree | 113eff922767fa82629c897ec87599e352f359f4 /lex.c | |
| parent | 826eea2e08a9ec4254ccbd4d12fcd7828f8c413d (diff) | |
more errors
Diffstat (limited to 'lex.c')
| -rw-r--r-- | lex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -329,9 +329,9 @@ extern void yyerror(const char *s) { tok = "end of line"; else tok = nprint((lastchar < 32 || lastchar > 126) ? "(decimal %d)" : "'%c'", lastchar); - fprint(2, "line %d: %s near %s\n", lineno - (lastchar == '\n'), s, tok); + fprint(2, "rc: line %d: %s near %s\n", lineno - (lastchar == '\n'), s, tok); } else - fprint(2, "%s\n", s); + fprint(2, "rc: %s\n", s); } extern void scanerror(char *s) { |