mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-23 11:11:22 +00:00
fixing that comment...
This commit is contained in:
parent
afdc0c9dc8
commit
9167de1631
2 changed files with 2 additions and 2 deletions
2
ast.c
2
ast.c
|
@ -1628,7 +1628,7 @@ bool ast_function_codegen(ast_function *self, ir_builder *ir)
|
|||
return true;
|
||||
}
|
||||
|
||||
// have a local return value variable?
|
||||
/* have a local return value variable? */
|
||||
if (self->return_value) {
|
||||
if (!ast_local_codegen(self->return_value, self->ir_func, false))
|
||||
return false;
|
||||
|
|
2
parser.c
2
parser.c
|
@ -3731,7 +3731,7 @@ static bool parse_statement(parser_t *parser, ast_block *block, ast_expression *
|
|||
}
|
||||
return parse_typedef(parser);
|
||||
}
|
||||
parseerror(parser, "Unexpected keyword");
|
||||
parseerror(parser, "Unexpected keyword: `%s'", parser_tokval(parser));
|
||||
return false;
|
||||
}
|
||||
else if (parser->tok == '{')
|
||||
|
|
Loading…
Reference in a new issue