Fix errors in the lexer module
This commit is contained in:
@@ -239,8 +239,10 @@ namespace elna::gcc
|
||||
{
|
||||
visit(static_cast<boot::unit *>(program));
|
||||
|
||||
tree declaration_type = build_function_type_list(integer_type_node, elna_int_type_node,
|
||||
build_global_pointer_type(build_global_pointer_type(elna_char_type_node)), NULL_TREE);
|
||||
tree declaration_type = build_function_type_list(elna_int_type_node,
|
||||
elna_int_type_node,
|
||||
build_global_pointer_type(build_global_pointer_type(elna_char_type_node)),
|
||||
NULL_TREE);
|
||||
tree fndecl = build_fn_decl("main", declaration_type);
|
||||
|
||||
tree resdecl = build_decl(UNKNOWN_LOCATION, RESULT_DECL, NULL_TREE, integer_type_node);
|
||||
|
Reference in New Issue
Block a user