URL:
  <http://savannah.gnu.org/bugs/?27799>

                 Summary: fix for nested-nested-nested variations
                 Project: XBoard
            Submitted by: None
            Submitted on: Sat Oct 24 16:51:30 2009
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

In file parser.l theres a problem with nested-nested variations in PGN files
at around line 920. I fixed it with:
\([^()]*(\([^()]*(\([^()]*(\([^()]*\)[^()]*)*\)[^()]*)*\)[^()]*)+[^()]*\)  {
/* nested () */

Attached is a PGN by Fabiano Caruana to test if it works.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat Oct 24 16:51:30 2009  Name: f.pgn  Size: 14kB   By: None
Attached is a PGN by Fabiano Caruana
<http://savannah.gnu.org/bugs/download.php?file_id=18937>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27799>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-XBoard mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-xboard

Reply via email to