Various fixes while trying to make defun! work

It still doesn't, but I think it's VERY close!
This commit is contained in:
Simon Brooke 2018-12-28 22:41:00 +00:00
parent a2afbe030f
commit 8231c74bae
6 changed files with 37 additions and 25 deletions

View file

@ -13,6 +13,7 @@
#define DEBUG_BOOTSTRAP 32
#define DEBUG_IO 64
#define DEBUG_REPL 128
#define DEBUG_BIND 256
int check_level( int v, int level, char * name) {
int result = 0;
@ -37,7 +38,8 @@ int main( int argc, char *argv[] ) {
check_level(v, DEBUG_LAMBDA, "DEBUG_LAMBDA") +
check_level(v, DEBUG_BOOTSTRAP, "DEBUG_BOOTSTRAP") +
check_level(v, DEBUG_IO, "DEBUG_IO") +
check_level(v, DEBUG_REPL, "DEBUG_REPL");
check_level(v, DEBUG_REPL, "DEBUG_REPL") +
check_level(v, DEBUG_BIND, "DEBUG_BIND");
printf("\t%d matches\n", matches);
}
}