]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
fix bug #188
authorDale Weiler <weilercdale@gmail.com>
Sun, 28 Mar 2021 00:45:40 +0000 (20:45 -0400)
committerDale Weiler <weilercdale@gmail.com>
Sun, 28 Mar 2021 00:45:40 +0000 (20:45 -0400)
parser.cpp

index ac28fd7a3cac0803742d24662be8ad208a08ce6a..010296cb99cdd631493b469c82b30eddf34dbad8 100644 (file)
@@ -4987,7 +4987,7 @@ static bool parse_typedef(parser_t *parser)
     }
 
     if ( (old = parser_find_var(parser, typevar->m_name)) ) {
-        parseerror(parser, "cannot define a type with the same name as a variable: %s\n"
+        parseerror(parser, "cannot define a type with the same name as a variable:\n"
                    " -> `%s` has been declared here: %s:%i",
                    typevar->m_name, old->m_context.file, old->m_context.line);
         delete typevar;