[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 5/7] style: doc: remove useless reference to 'int' in integral ty
From: |
Akim Demaille |
Subject: |
[PATCH 5/7] style: doc: remove useless reference to 'int' in integral types |
Date: |
Sun, 12 Aug 2018 15:16:14 +0200 |
* doc/bison.texi: Prefer 'unsigned' to 'unsigned int'. Likewise for
long and short.
---
TODO | 2 +-
doc/bison.texi | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/TODO b/TODO
index c25df084..f150cbd4 100644
--- a/TODO
+++ b/TODO
@@ -112,7 +112,7 @@ We could (should?) also treat the case of the undef_token,
which is
numbered 257 for yylex, and 2 internal. Both appear for instance in
toknum:
- const unsigned short int
+ const unsigned short
parser::yytoken_number_[] =
{
0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
diff --git a/doc/bison.texi b/doc/bison.texi
index bad88cdb..8750761f 100644
--- a/doc/bison.texi
+++ b/doc/bison.texi
@@ -2884,7 +2884,7 @@ can be done with two @var{Prologue} blocks, one before
and one after the
@group
%union @{
- long int n;
+ long n;
tree t; /* @address@hidden is defined in @file{ptypes.h}.} */
@}
@end group
@@ -2936,7 +2936,7 @@ Look again at the example of the previous section:
@group
%union @{
- long int n;
+ long n;
tree t; /* @address@hidden is defined in @file{ptypes.h}.} */
@}
@end group
@@ -3000,7 +3000,7 @@ Let's go ahead and add the new @code{YYLTYPE} definition
and the
@group
%union @{
- long int n;
+ long n;
tree t; /* @address@hidden is defined in @file{ptypes.h}.} */
@}
@end group
@@ -3053,7 +3053,7 @@ Thus, they belong in one or more @code{%code requires}:
@end group
@group
%union @{
- long int n;
+ long n;
tree t; /* @address@hidden is defined in @file{ptypes.h}.} */
@}
@end group
@@ -3130,7 +3130,7 @@ sufficient. Instead, move its prototype from the
unqualified
@end group
@group
%union @{
- long int n;
+ long n;
tree t; /* @address@hidden is defined in @file{ptypes.h}.} */
@}
@end group
@@ -3707,7 +3707,7 @@ a preprocessor.
In most programs, you will need different data types for different kinds
of tokens and groupings. For example, a numeric constant may need type
address@hidden or @code{long int}, while a string constant needs type
address@hidden or @code{long}, while a string constant needs type
@code{char *}, and an identifier might need a pointer to an entry in the
symbol table.
--
2.18.0
- [PATCH 0/7] remove useless reference to 'int' in integral types, Akim Demaille, 2018/08/12
- [PATCH 7/7] regen, Akim Demaille, 2018/08/12
- [PATCH 6/7] style: m4: remove useless reference to 'int' in integral types, Akim Demaille, 2018/08/12
- [PATCH 1/7] style: data: remove useless reference to 'int' in integral types, Akim Demaille, 2018/08/12
- [PATCH 4/7] style: lib: remove useless reference to 'int' in integral types, Akim Demaille, 2018/08/12
- [PATCH 3/7] style: src: remove useless reference to 'int' in integral types, Akim Demaille, 2018/08/12
- [PATCH 2/7] style: tests: remove useless reference to 'int' in integral types, Akim Demaille, 2018/08/12
- [PATCH 5/7] style: doc: remove useless reference to 'int' in integral types,
Akim Demaille <=