aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-03-23 20:48:30 +0000
committergingerBill <bill@gingerbill.org>2018-03-23 20:48:30 +0000
commit30f5a3bb9358ded6a48e8d8ba6f5eb0b3743a807 (patch)
treeebec105ee45307ef11491c3bbb8ec31f2f61df0e /src/main.cpp
parent2e1e1e6034152fa83a05b7fb47e75eefe758ca62 (diff)
Move cycle checking to much earlier on in the semantic stage
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c1999e766..bf4d19d30 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -685,6 +685,8 @@ i32 exec_llvm_llc(String output_base) {
#endif
}
+
+
int main(int arg_count, char **arg_ptr) {
if (arg_count < 2) {
usage(make_string_c(arg_ptr[0]));