Use 'short int' rather than 'short', and similarly for 'long', 'unsigned', etc.

This commit is contained in:
Paul Eggert
2004-03-31 00:37:21 +00:00
parent 2ae64eed27
commit 779e7ceb93
25 changed files with 171 additions and 126 deletions

View File

@@ -2338,7 +2338,7 @@ can be done with two @var{Prologue} blocks, one before and one after the
%@}
%union @{
long n;
long int n;
tree t; /* @r{@code{tree} is defined in @file{ptypes.h}.} */
@}
@@ -2755,7 +2755,7 @@ This macro definition must go in the prologue of the grammar file
In most programs, you will need different data types for different kinds
of tokens and groupings. For example, a numeric constant may need type
@code{int} or @code{long}, while a string constant needs type @code{char *},
@code{int} or @code{long int}, while a string constant needs type @code{char *},
and an identifier might need a pointer to an entry in the symbol table.
To use more than one data type for semantic values in one parser, Bison