tree-sitter/test
Max Brunsfeld 0143bfdad4 Avoid use-after-free of external token states
Previously, it was possible for references to external token states to
outlive the trees to which those states belonged.

Now, instead of storing references to external token states in the Stack
and in the Lexer, we store references to the external token trees
themselves, and we retain the trees to prevent use-after-free.
2017-06-27 14:54:27 -07:00
..
compiler Be more conservative about avoiding lexing conflicts when merging states 2017-06-22 15:32:13 -07:00
fixtures Adjust C error recovery tests to reflect grammar changes 2017-06-21 16:58:40 -07:00
helpers Record deallocations even when recording allocations is disabled 2017-06-27 14:54:27 -07:00
integration 🎨 2017-06-15 17:25:21 -07:00
runtime Avoid use-after-free of external token states 2017-06-27 14:54:27 -07:00
test_helper.h Rename spec -> test 2017-03-09 20:40:01 -08:00
tests.cc Rename spec -> test 2017-03-09 20:40:01 -08:00