]> granicus.if.org Git - flex/commitdiff
Fixed table deserialization bug on big-endian archs. Patch sent from Bryce Nichols...
authorJohn Millaway <john43@users.sourceforge.net>
Sun, 12 Jan 2003 03:30:45 +0000 (03:30 +0000)
committerJohn Millaway <john43@users.sourceforge.net>
Sun, 12 Jan 2003 03:30:45 +0000 (03:30 +0000)
tables_shared.h

index 9676d47ee4cfa465f48d8b0035d6b5375d669aca..bbf9910a96aa059b586a3f78d0faff499cd8ccc0 100644 (file)
@@ -115,7 +115,7 @@ struct yytbl_hdr {
 
 /** A single serialized table */
 struct yytbl_data {
-       enum yytbl_id td_id; /**< flex_uint16_t table identifier */
+       flex_uint16_t td_id;      /**< enum yytbl_id table identifier */
        flex_uint16_t td_flags;   /**< how to interpret this data */
        flex_uint32_t td_hilen;   /**< num elements in highest dimension array */
        flex_uint32_t td_lolen;   /**< num elements in lowest dimension array */