From c56cf062ff40624fad3b09223b527fc3a12c7b01 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 25 Oct 2009 23:29:43 -0700 Subject: [PATCH] fix for bug #27799: fix for nested-nested-nested variations --- parser.l | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/parser.l b/parser.l index 82957eb..7e42f8a 100755 --- a/parser.l +++ b/parser.l @@ -919,7 +919,7 @@ extern void CopyBoard P((Board to, Board from)); return (int) Comment; } -\([^()]*(\([^()]*\)[^()]*)+[^()]*\) { /* nested () */ +\([^()]*(\([^()]*(\([^()]*(\([^()]*\)[^()]*)*\)[^()]*)*\)[^()]*)+[^()]*\) { /* very nested () */ return (int) Comment; } -- 1.7.0.4