From fe5aa46d8d64e351f7a711acb76bea6718f3dbde Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Tue, 26 Mar 2019 16:53:35 +0100 Subject: [PATCH] Swap two incorrectly placed comments --- lib/src/stack.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);