From 8ed162cddde9937cb1b7b57a7fb6a0d6cc33cdc6 Mon Sep 17 00:00:00 2001 From: ilor <kailoran@gmail.com> Date: Thu, 9 Dec 2010 10:02:16 +0100 Subject: [PATCH] Restore the llook rpos/lpos order swap in the grammar --- libwccl/parser/grammar.g | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libwccl/parser/grammar.g b/libwccl/parser/grammar.g index 6fa656e..c0f08ca 100644 --- a/libwccl/parser/grammar.g +++ b/libwccl/parser/grammar.g @@ -1096,9 +1096,9 @@ bool_iteration RPAREN { ret.reset(new AtLeast(lpos, rpos, *pacc, expr, min_match)); } - | "llook" LPAREN - lpos = position_operator [tagset, vars] COMMA - rpos = position_operator [tagset, vars] COMMA + | "llook" LPAREN //note inverted rpos/lpos order + rpos = position_operator [tagset, vars] COMMA + lpos = position_operator [tagset, vars] COMMA pacc = position_variable_acc [vars] COMMA expr = bool_operator [tagset, vars] RPAREN { -- GitLab