Clean up some methods in parser.c

This commit is contained in:
Max Brunsfeld 2016-11-14 17:25:55 -08:00
parent 6fd0b5557d
commit e7217f1bac
4 changed files with 79 additions and 69 deletions

View file

@ -134,7 +134,7 @@ describe("Stack", [&]() {
// ↑
// └───2─── C*
ts_stack_push(stack, 0, trees[0], false, stateA);
ts_stack_duplicate_version(stack, 0);
ts_stack_copy_version(stack, 0);
ts_stack_push(stack, 0, trees[1], false, stateB);
ts_stack_push(stack, 1, trees[2], false, stateC);
});