Skip to content

Commit

Permalink
fix: incorrect def bool check that broke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wilyJ80 committed Dec 8, 2024
1 parent 666a39c commit 1313a0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/examples/code.proc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
def
prot a -
2 changes: 1 addition & 1 deletion parser/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ enum SYNTAX_ERROR declVar(struct Parser *parser) {
}

enum SYNTAX_ERROR declDefProc(struct Parser *parser) {
bool isDef;
bool isDef = false;
if (parser->token.signCode == DEF) {
isDef = true;
}
Expand Down

0 comments on commit 1313a0f

Please sign in to comment.