Skip to content

Commit 01fdfb8

Browse files
comment
1 parent 392f66a commit 01fdfb8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • src/sqlfluff/core/parser/grammar

src/sqlfluff/core/parser/grammar/anyof.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ def match(
158158
segments,
159159
idx,
160160
terminators=(
161+
# Only pass through the context terminators if not resetting.
161162
self.terminators
162163
if self.reset_terminators
163164
else [*self.terminators, *parse_context.terminators]

0 commit comments

Comments
 (0)