consistent capitalization of error message
This commit is contained in:
@@ -690,7 +690,7 @@ static AstNode *ast_parse_top_level_decl(ParseContext *pc, VisibMod visib_mod, B
|
||||
AstNode *res = fn_proto;
|
||||
if (body != nullptr) {
|
||||
if (fn_proto->data.fn_proto.is_extern) {
|
||||
ast_error(pc, first, "Extern functions have no body");
|
||||
ast_error(pc, first, "extern functions have no body");
|
||||
}
|
||||
res = ast_create_node_copy_line_info(pc, NodeTypeFnDef, fn_proto);
|
||||
res->data.fn_def.fn_proto = fn_proto;
|
||||
|
||||
Reference in New Issue
Block a user