Global generation
This commit is contained in:
+2
-6
@@ -6,14 +6,10 @@
|
||||
int main(int argc, const char **argv) {
|
||||
lisp_init();
|
||||
ReadStream s;
|
||||
const char BUF[] = "`(1 . ,2)";
|
||||
const char BUF[] = "t";
|
||||
read_stream_init(&s, BUF, sizeof(BUF) - 1);
|
||||
LispVal *l = read(&s);
|
||||
if (!l) {
|
||||
printf("EOF\n");
|
||||
} else {
|
||||
debug_obj_info(stdout, l);
|
||||
}
|
||||
printf("%d\n", l == Qt);
|
||||
lisp_shutdown();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user