Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement macros defined in <stdbool.h> (#124)
Macro 'bool', 'true', 'false' are defined in c.c. In addition, this commit also tweaks 'define' preprocessor directive so that parsing identifier after 'define' is possible. The size of type _Bool is same as char type, which takes 1 byte. Notice that currently lexer aliasing is unreliable due to the token type determination algorithm does not correctly recognize T_identifier and T_string at this moment. Close #122
- Loading branch information