Rename type ts_state_id -> TSStateId

This commit is contained in:
Max Brunsfeld 2014-06-28 18:51:06 -07:00
parent 5f59de72a8
commit 7e0d46002c
9 changed files with 32 additions and 32 deletions

View file

@ -19,7 +19,7 @@ typedef enum {
typedef struct {
ts_parse_action_type type;
union {
ts_state_id to_state;
TSStateId to_state;
struct {
ts_symbol symbol;
unsigned short child_count;
@ -48,15 +48,15 @@ typedef struct {
size_t symbol_count;
const int *hidden_symbol_flags;
const ts_parse_action *parse_table;
const ts_state_id *lex_states;
TSTree * (* lex_fn)(ts_lexer *, ts_state_id);
const TSStateId *lex_states;
TSTree * (* lex_fn)(ts_lexer *, TSStateId);
} config;
} ts_lr_parser;
ts_lr_parser * ts_lr_parser_make(size_t symbol_count,
const ts_parse_action *parse_table,
const ts_state_id *lex_states,
TSTree * (* lex_fn)(ts_lexer *, ts_state_id),
const TSStateId *lex_states,
TSTree * (* lex_fn)(ts_lexer *, TSStateId),
const int *hidden_symbol_flags);
void ts_lr_parser_free(void *data);
void ts_lr_parser_initialize(ts_lr_parser *parser, ts_input input, ts_input_edit *edit);