Skip to content

Commit

Permalink
chore: removed debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Zffu committed Jan 9, 2025
1 parent 87c4521 commit e0081a4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/ir/irs/functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ void parseFunction(IR_OUTPUT* out, AST_FUNCTION_DEC* node) {
while(branch->next != NULL) {
branch = ((AST_TREE_BRANCH*)branch->next);

printf("0x%x\n", branch->type);

switch(branch->type) {
case AST_TYPE_VARIABLE_DECLARATION:
parseVariableDeclaration(out->blocks[out->blockCount], (AST_VARIABLE_DEC*) branch);
Expand Down
2 changes: 0 additions & 2 deletions src/parser/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ void* parseRoot(LEXER_RESULT result, int startingIndex, AST_TYPE type) {
for(int i = startingIndex; i < result.size; ++i) {
TOKEN t = result.tokens[i];

printf("i: %d, t: %d\n", i, t.type);

switch(t.type) {
case TYPE_INT32:
case TYPE_INT24:
Expand Down

0 comments on commit e0081a4

Please sign in to comment.