Basic call expression and fix to assignment count checking

This commit is contained in:
gingerBill
2016-08-03 22:27:24 +01:00
parent 0e92166d44
commit 19aea1f198
11 changed files with 332 additions and 226 deletions
+6 -2
View File
@@ -11,6 +11,8 @@ int main(int argc, char **argv) {
return 1;
}
int success = 1;
init_universal_scope();
for (int arg_index = 1; arg_index < argc; arg_index++) {
@@ -31,14 +33,16 @@ int main(int argc, char **argv) {
check_parsed_files(&checker);
ssaGen ssa = {};
if (ssa_gen_init(&ssa, &checker)) {
if (false && ssa_gen_init(&ssa, &checker)) {
defer (ssa_gen_destroy(&ssa));
ssa_gen_code(&ssa);
success = 0;
}
}
}
}
return 0;
return success;
}