Skip to content

Commit 290e46b

Browse files
committed
fix: enum directive_type UNDEF and DEFINE should be different
1 parent 9e36a2a commit 290e46b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapter_6/exercise_6_06/define.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ enum directive_type
1717
{
1818
NONE = 0,
1919
DEFINE = 1,
20-
UNDEF = 1
20+
UNDEF = 2
2121
};
2222

2323
struct list_node

0 commit comments

Comments
 (0)