[Webkit-unassigned] [Bug 31572] New: Enabling YYDEBUG and jsyydebug to debug during parsing causes a compile error.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 16 18:26:19 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=31572

           Summary: Enabling YYDEBUG and jsyydebug to debug during parsing
                    causes a compile error.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: grier at uiuc.edu


Enabling YYDEBUG and jsyydebug for debugging during parsing causes a compile
error.

Change the two defines in Grammar.y:

#define YYDEBUG 1 // Set to 1 to debug a parse error.
#define jscyydebug 1 // Set to 1 to debug a parse error.

rebuild:

generated/release/Grammar.tab.c:2427: error: expected unqualified-id before
numeric constant

Tested on todays nightly, r50918 and an older version I had laying around
(r43808), same errors. Also tested with gcc 4.4.1 and 4.3.2.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list