summaryrefslogtreecommitdiff
path: root/05/main.b
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-02-09 15:50:02 -0500
committerpommicket <pommicket@gmail.com>2022-02-09 15:50:02 -0500
commitd74dc53b0b07e5e29cf5db744342a73826779325 (patch)
tree6bde7f57e42b6a6848da08b5c85b118b6eb8f7f3 /05/main.b
parentc548b12bbb500397b9f18e15af5589d89f25cfe2 (diff)
more parsing tests, fixed more bugs
- we now handle incomplete structs properly - small fix in for loop printing
Diffstat (limited to '05/main.b')
-rw-r--r--05/main.b2
1 files changed, 2 insertions, 0 deletions
diff --git a/05/main.b b/05/main.b
index 8074bf5..aa20095 100644
--- a/05/main.b
+++ b/05/main.b
@@ -72,6 +72,8 @@ global expressions_end
; current rbp offset (where rsp is)
global local_var_rbp_offset
global function_param_names
+; set to 1 by parse_type_declarators if at least one function parameter has no name.
+global function_param_has_no_name
#include util.b
#include idents.b