From: H.G. Muller Date: Mon, 26 Oct 2009 06:29:43 +0000 (-0700) Subject: fix for bug #27799: fix for nested-nested-nested variations X-Git-Tag: v4.4.1~23 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=c56cf062ff40624fad3b09223b527fc3a12c7b01;p=xboard.git fix for bug #27799: fix for nested-nested-nested variations --- 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; }