acc: Removed debug prints, old code. Also the scope of the declarations made inside a for statement is now properly tracked

This commit is contained in:
jpekkila
2019-10-08 00:20:57 +03:00
parent 08f155cbec
commit 44a86f5e80
3 changed files with 22 additions and 42 deletions

View File

@@ -33,7 +33,8 @@
FUNC(NODE_COMPOUND_STATEMENT), \
FUNC(NODE_FUNCTION_PARAMETER_DECLARATION), \
FUNC(NODE_MULTIDIM_SUBSCRIPT_EXPRESSION), \
FUNC(NODE_REAL_NUMBER)
FUNC(NODE_REAL_NUMBER), \
FUNC(NODE_FOR_EXPRESSION)
// clang-format on
typedef enum { FOR_NODE_TYPES(GEN_ID), NUM_NODE_TYPES } NodeType;