Add token_names API - close #17
This commit is contained in:
1 parent
5dfd62b756
commit
1c91dcd298
5 files changed
+46
No files matched your search
@@ -35,5 +35,8 @@ int main()
|
||||
assert(p_position(&context).row == 5);
|
||||
assert(p_position(&context).col == 4);
|
||||
|
||||
assert(strcmp(p_token_names[TOKEN_a], "a") == 0);
|
||||
assert(strcmp(p_token_names[TOKEN_num], "num") == 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user