]> git.saurik.com Git - bison.git/blobdiff - src/symtab.h
Use 'short int' rather than 'short', and similarly for 'long', 'unsigned', etc.
[bison.git] / src / symtab.h
index 3cf2f588fdf21a3da63fa56cc56d245a9f604d6e..42c8ffb82a212619cfb08d52852ac16ac253dcdd 100644 (file)
@@ -1,6 +1,6 @@
 /* Definitions for symtab.c and callers, part of Bison.
 
 /* Definitions for symtab.c and callers, part of Bison.
 
-   Copyright (C) 1984, 1989, 1992, 2000, 2001, 2002
+   Copyright (C) 1984, 1989, 1992, 2000, 2001, 2002, 2004
    Free Software Foundation, Inc.
 
    This file is part of Bison, the GNU Compiler Compiler.
    Free Software Foundation, Inc.
 
    This file is part of Bison, the GNU Compiler Compiler.
@@ -41,7 +41,7 @@ typedef enum
 
 
 /* Internal token numbers. */
 
 
 /* Internal token numbers. */
-typedef short symbol_number;
+typedef short int symbol_number;
 #define SYMBOL_NUMBER_MAXIMUM SHRT_MAX
 
 
 #define SYMBOL_NUMBER_MAXIMUM SHRT_MAX
 
 
@@ -61,7 +61,7 @@ struct symbol
   location printer_location;
 
   symbol_number number;
   location printer_location;
 
   symbol_number number;
-  short prec;
+  short int prec;
   assoc assoc;
   int user_token_number;
 
   assoc assoc;
   int user_token_number;