mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-26 20:41:36 +00:00
fix bug #188
This commit is contained in:
parent
71138cbe1a
commit
47475bb455
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue