fixing that comment...

This commit is contained in:
Wolfgang Bumiller 2013-05-29 16:56:39 +02:00
parent afdc0c9dc8
commit 9167de1631
2 changed files with 2 additions and 2 deletions

2
ast.c
View file

@ -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;

View file

@ -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 == '{')