diff --git a/gnoemoe/parser/parser.y b/gnoemoe/parser/parser.y index 12ea1ab..170c70b 100644 --- a/gnoemoe/parser/parser.y +++ b/gnoemoe/parser/parser.y @@ -707,9 +707,9 @@ fmt_error(const char *s, const char *t) if (str == 0) str = new_stream(100); if (t) - stream_printf(str, "Line %d: %s%s", lineno, s, t); + stream_printf(str, "%s%s", s, t); else - stream_printf(str, "Line %d: %s", lineno, s); + stream_printf(str, "%s", s); return reset_stream(str); }