tree-sitter/src/compiler/build_tables
Max Brunsfeld 20982fdcb9 Mark tokens as non-reusable in states where shorter takes take precedence
This fixes some randomized test failures in the C grammar, relating to Object-like macros.
The object-like macro rule relies on a whitespace token in order to distinguish object-like
macros whose values begin with a '(' from function-like macros. The presence of that
whitespace token means that other nodes should not be reusable in that state.
2017-06-22 16:04:42 -07:00
..
build_parse_table.cc 🎨 2017-06-22 15:33:07 -07:00
build_parse_table.h Make the compile function plain C and take a JSON grammar 2016-01-11 12:33:48 -08:00
build_tables.cc Use LexTableBuilder to detect conflicts between tokens more correctly 2017-03-08 12:47:38 -08:00
build_tables.h Make the compile function plain C and take a JSON grammar 2016-01-11 12:33:48 -08:00
conflict_type.h Treat reduce actions with different production IDs as distinct 2015-12-10 13:00:26 -08:00
lex_conflict_manager.cc Mark tokens as non-reusable in states where shorter takes take precedence 2017-06-22 16:04:42 -07:00
lex_conflict_manager.h Implement Rule as a union rather than an abstract base class 2017-03-17 13:29:31 -07:00
lex_item.cc Remove use of shared_ptr in choice, repeat, and seq factories 2017-03-17 14:28:13 -07:00
lex_item.h Implement Rule as a union rather than an abstract base class 2017-03-17 13:29:31 -07:00
lex_item_transitions.cc Remove use of shared_ptr in choice, repeat, and seq factories 2017-03-17 14:28:13 -07:00
lex_item_transitions.h Implement Rule as a union rather than an abstract base class 2017-03-17 13:29:31 -07:00
lex_table_builder.cc 🎨 2017-06-22 15:33:07 -07:00
lex_table_builder.h Use LexTableBuilder to detect conflicts between tokens more correctly 2017-03-08 12:47:38 -08:00
lookahead_set.cc Implement Rule as a union rather than an abstract base class 2017-03-17 13:29:31 -07:00
lookahead_set.h Implement Rule as a union rather than an abstract base class 2017-03-17 13:29:31 -07:00
parse_item.cc Implement Rule as a union rather than an abstract base class 2017-03-17 13:29:31 -07:00
parse_item.h Implement Rule as a union rather than an abstract base class 2017-03-17 13:29:31 -07:00
parse_item_set_builder.cc Fix build errors w/ gcc 2017-03-17 14:03:49 -07:00
parse_item_set_builder.h Implement Rule as a union rather than an abstract base class 2017-03-17 13:29:31 -07:00
rule_can_be_blank.cc Remove use of shared_ptr in choice, repeat, and seq factories 2017-03-17 14:28:13 -07:00
rule_can_be_blank.h Implement Rule as a union rather than an abstract base class 2017-03-17 13:29:31 -07:00