add yet another debug print
This commit is contained in:
parent
22e43c385e
commit
80aed24fd7
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue