]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - parser.c
Merge branch 'master' into ftepp
[xonotic/gmqcc.git] / parser.c
index 5738869e2ca1e639e39e23beb5abfe3f1965b692..38af9a9e0dacc6997bcc9ede49a1e496fc4c3ce9 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -3419,7 +3419,7 @@ bool parser_compile_file(const char *filename)
 {
     parser->lex = lex_open(filename);
     if (!parser->lex) {
-        con_out("failed to open file \"%s\"\n", filename);
+        con_err("failed to open file \"%s\"\n", filename);
         return false;
     }
     return parser_compile();
@@ -3429,7 +3429,7 @@ bool parser_compile_string(const char *name, const char *str)
 {
     parser->lex = lex_open_string(str, strlen(str), name);
     if (!parser->lex) {
-        con_out("failed to create lexer for string \"%s\"\n", name);
+        con_err("failed to create lexer for string \"%s\"\n", name);
         return false;
     }
     return parser_compile();