Skip to content

Commit 794a1aa

Browse files
committed
Use the old expr parser for the repl
1 parent beb04a2 commit 794a1aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

repl/repl.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#define OLD_PARSER 1
12
#define ACCEL ACCEL_TABLE
23

34
#include "../os/compat.h"
@@ -152,7 +153,7 @@ static inline int TranslateIdentifiers(metac_node_t node, void* ctx)
152153
} break;
153154

154155

155-
default : {xprintf("No Identifier got Translated\n");} break;
156+
default : {xprintf("No Identifier got Translated for '%s'\n", MetaCNodeKind_toChars(node->Kind));} break;
156157
}
157158

158159
if ((node->Kind > expr_invalid) & (node->Kind < expr_max))

0 commit comments

Comments
 (0)