[Webkit-unassigned] [Bug 7981] New: css/maketokenizer removes type defs

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Mar 25 07:58:07 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7981

           Summary: css/maketokenizer removes type defs
           Product: WebKit
           Version: 420+ (nightly)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: mike.emmel at gmail.com


The perl script maketokenzer strips the flex typedefs leaving them undefined on
linux

Index: css/maketokenizer
===================================================================
--- css/maketokenizer   (revision 13479)
+++ css/maketokenizer   (working copy)
@@ -39,6 +39,26 @@

 */

+/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
+
+#if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
+#include <inttypes.h>
+typedef int8_t flex_int8_t;
+typedef uint8_t flex_uint8_t;
+typedef int16_t flex_int16_t;
+typedef uint16_t flex_uint16_t;
+typedef int32_t flex_int32_t;
+typedef uint32_t flex_uint32_t;
+#else
+typedef signed char flex_int8_t;
+typedef short int flex_int16_t;
+typedef int flex_int32_t;
+typedef unsigned char flex_uint8_t;
+typedef unsigned short int flex_uint16_t;
+typedef unsigned int flex_uint32_t;
+#endif /* ! C99 */
+
+
 // --------- begin generated code -------------------

 END


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list