]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - lex.c
Cleaups and README
[xonotic/gmqcc.git] / lex.c
diff --git a/lex.c b/lex.c
index 48d01c49db4adee40308f55d5a11172e166e7436..9296158fd196cd5390e47fb60d7e1d096a936e7f 100644 (file)
--- a/lex.c
+++ b/lex.c
@@ -249,7 +249,7 @@ static int lex_skipcmt(struct lex_file *file) {
                lex_addch(ch, file);
                while ((ch = lex_getch(file)) != '*') {
                        if (ch == EOF)
-                               return error(ERROR_LEX, "malformatted comment", " ");
+                               return error(ERROR_LEX, "malformatted comment at line %d", file->line);
                        else
                                lex_addch(ch, file);
                }