add yet another debug print

This commit is contained in:
Yuichi Nishiwaki 2013-12-09 15:36:41 +09:00
parent 22e43c385e
commit 80aed24fd7
1 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,10 @@ repl(pic_state *pic)
while (1) { while (1) {
prompt = code[0] == '\0' ? "> " : "* "; prompt = code[0] == '\0' ? "> " : "* ";
#if DEBUG
printf("[current ai = %d]\n", ai);
#endif
#if PIC_ENABLE_READLINE #if PIC_ENABLE_READLINE
read_line = readline(prompt); read_line = readline(prompt);
if (read_line == NULL) { if (read_line == NULL) {