Compiling euler code with only link errors
This commit is contained in:
@@ -273,7 +273,7 @@ gen_ast(Ast *ast){
|
||||
|
||||
CASE(VAR, Decl){
|
||||
gen_var(node->name, node->type, node->expr, is_inside_struct ? DONT_EMIT_VALUE : ALWAYS_EMIT_VALUE);
|
||||
gen(";");
|
||||
if(!is_flag_set(ast->flags, AST_EXPR)) gen(";");
|
||||
BREAK();
|
||||
}
|
||||
|
||||
@@ -477,7 +477,7 @@ compile_files(Array<String> filename){
|
||||
resolve_package(it);
|
||||
}
|
||||
|
||||
#if 0
|
||||
#if 1
|
||||
gen(R"==(
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
Reference in New Issue
Block a user