tree-sitter/spec/compiler
Max Brunsfeld ed11ef557a Fix expansion of repeat rules into recursive rules
Previously, the way repeat rules were expanded, the auxiliary
rule always needed to be reduced, even if the repeating content
was empty. This caused problems in parse states where some items
contained the repeat rule and some did not. To make those cases
work, the repeat rule had to explicitly be marked as optional.
With this change, that is no longer necessary.
2014-09-07 09:39:14 -07:00
..
build_tables Revert "Remove the separator characters construct" 2014-09-02 08:03:51 -07:00
helpers Remove implicit CharacterRange constructors 2014-08-23 14:52:44 -07:00
prepare_grammar Fix expansion of repeat rules into recursive rules 2014-09-07 09:39:14 -07:00
rules Refactor - represent char sets in terms of inclusions and exclusions 2014-08-23 14:25:45 -07:00
compile_examples.cc Fix indentation in specs 2014-08-07 08:11:21 -07:00
compile_spec.cc Fix segfault when grammar consists of a single token 2014-07-23 18:26:10 -07:00
compiler_spec_helper.h Tweak header include paths in tests 2014-06-23 18:50:03 -07:00
compiler_specs.cc Fix indentation in specs 2014-08-07 08:11:21 -07:00