We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
token_type_string
token_type_to_string
1 parent 2ad882e commit 4b97003Copy full SHA for 4b97003
src/token.c
@@ -62,7 +62,7 @@ const char* token_type_string(int type) {
62
}
63
64
char* token_to_string(token_T* token) {
65
- const char* type_string = token_type_to_string(token->type);
+ const char* type_string = token_type_string(token->type);
66
const char* template = "#<Token type=%s value='%s' range=[%d, %d] start=%d:%d end=%d:%d>";
67
68
char* string = calloc(strlen(type_string) + strlen(template) + 8, sizeof(char));
0 commit comments