From 92cdd90ba2b5271865852af86f17c64e7a4eed14 Mon Sep 17 00:00:00 2001
From: Adam Wardynski <award@.(B-4.4.46a)>
Date: Thu, 21 Apr 2011 22:12:33 +0200
Subject: [PATCH] Allow nested -> without parentheses.

---
 libwccl/parser/grammar.g | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libwccl/parser/grammar.g b/libwccl/parser/grammar.g
index 976ab8d..79c72c5 100644
--- a/libwccl/parser/grammar.g
+++ b/libwccl/parser/grammar.g
@@ -2122,7 +2122,7 @@ match_fit
 	)
 	( // if there's an arrow after the match, we have a submatch reference
 		ARROW i: UNSIGNED_INT { ret.reset(new Submatch(ret, token_ref_to_int(i))); }
-	)?
+	)*
 ;
 
 match_var_val
-- 
GitLab