Browse Source

examples: ncd_tokenizer_test: add missing tokens

ambrop7 14 năm trước cách đây
mục cha
commit
c4ee3fcbe4
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      examples/ncd_tokenizer_test.c

+ 6 - 0
examples/ncd_tokenizer_test.c

@@ -81,6 +81,12 @@ static int tokenizer_output (void *user, int token, char *value, size_t line, si
             printf("string %s\n", value);
             free(value);
             break;
+        case NCD_TOKEN_ARROW:
+            printf("arrow\n");
+            break;
+        case NCD_TOKEN_TEMPLATE:
+            printf("template\n");
+            break;
         default:
             ASSERT(0);
     }