aboutsummaryrefslogtreecommitdiff
path: root/interpreter/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'interpreter/print.c')
-rw-r--r--interpreter/print.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/interpreter/print.c b/interpreter/print.c
index 3f17475..d700101 100644
--- a/interpreter/print.c
+++ b/interpreter/print.c
@@ -16,9 +16,8 @@ void print_token(token* tk) {
case TOKEN_EQUALS: c = '='; break;
case TOKEN_COMMA: c = ','; break;
case TOKEN_STRICT: c = '!'; break;
- case TOKEN_CODE:
- printf("code ");
- return;
+ case TOKEN_CODE: printf("code "); return;
+ case TOKEN_IMPORT: printf("import "); return;
case TOKEN_NAME:
printf("%s", (char*) tk->var);
return;