]> git.saurik.com Git - bison.git/blobdiff - src/gram.h
* src/muscle_tab.h (MUSCLE_INSERT_LONG_INT): New.
[bison.git] / src / gram.h
index cc8e7ff9445011b9560f9f205508757dd21f6033..9ae10b8b750bbf5ee4f36de11be727fa0a786aa1 100644 (file)
@@ -148,11 +148,11 @@ extern struct rule_s *rules;
 /* Table of the symbols, indexed by the symbol number. */
 extern symbol_t **symbols;
 
-/* token translation table: indexed by a token number as returned by
-   the user's yylex routine, it yields the internal token number used
-   by the parser and throughout bison.  */
-
-extern short *token_translations;
+/* TOKEN_TRANSLATION -- a table indexed by a token number as returned
+   by the user's yylex routine, it yields the internal token number
+   used by the parser and throughout bison.  */
+typedef short token_number_t;
+extern token_number_t *token_translations;
 extern int max_user_token_number;
 
 /* SEMANTIC_PARSER is nonzero if the input file says to use the hairy