Realloc parse stack when it grows to its capacity

This commit is contained in:
Max Brunsfeld 2014-08-30 21:39:55 -07:00
parent 3ea9f709a4
commit e6bbab41e5
2 changed files with 6 additions and 0 deletions

View file

@ -9,6 +9,7 @@ extern "C" {
typedef struct {
size_t size;
size_t capacity;
struct {
TSTree *node;
TSStateId state;