diff --git a/lib/src/stack.h b/lib/src/stack.h index 1ccd98cd..ec7a69d2 100644 --- a/lib/src/stack.h +++ b/lib/src/stack.h @@ -92,11 +92,11 @@ StackSummary *ts_stack_get_summary(Stack *, StackVersion); // Get the total cost of all errors on the given version of the stack. unsigned ts_stack_error_cost(const Stack *, StackVersion version); -// Determine whether the given two stack versions can be merged. -bool ts_stack_merge(Stack *, StackVersion, StackVersion); - // Merge the given two stack versions if possible, returning true // if they were successfully merged and false otherwise. +bool ts_stack_merge(Stack *, StackVersion, StackVersion); + +// Determine whether the given two stack versions can be merged. bool ts_stack_can_merge(Stack *, StackVersion, StackVersion); TSSymbol ts_stack_resume(Stack *, StackVersion);