summaryrefslogtreecommitdiffstats
path: root/buildtools/lib/parsers/autotools/autotools_yacc.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:42 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 23:52:48 +0900
commit76ef0cc47c8bbb03ae4f32680515aedf484ec5f8 (patch)
tree90d45576b52840fd52c9f22682574a44a1df6a01 /buildtools/lib/parsers/autotools/autotools_yacc.cpp
parent97498570fe5cf2ec7abeb0e06920a6bb8a364cb2 (diff)
downloadtdevelop-76ef0cc47c8bbb03ae4f32680515aedf484ec5f8.tar.gz
tdevelop-76ef0cc47c8bbb03ae4f32680515aedf484ec5f8.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit da6bd0768e4304e6c2853d012c7d0686a205addb)
Diffstat (limited to 'buildtools/lib/parsers/autotools/autotools_yacc.cpp')
-rw-r--r--buildtools/lib/parsers/autotools/autotools_yacc.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/buildtools/lib/parsers/autotools/autotools_yacc.cpp b/buildtools/lib/parsers/autotools/autotools_yacc.cpp
index 93cdb733..1b2c1b75 100644
--- a/buildtools/lib/parsers/autotools/autotools_yacc.cpp
+++ b/buildtools/lib/parsers/autotools/autotools_yacc.cpp
@@ -320,7 +320,7 @@ union yyalloc
# define YYCOPY(To, From, Count) \
do \
{ \
- register YYSIZE_T yyi; \
+ YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(To)[yyi] = (From)[yyi]; \
} \
@@ -768,7 +768,7 @@ yystrlen (yystr)
const char *yystr;
# endif
{
- register const char *yys = yystr;
+ const char *yys = yystr;
while (*yys++ != '\0')
continue;
@@ -793,8 +793,8 @@ yystpcpy (yydest, yysrc)
const char *yysrc;
# endif
{
- register char *yyd = yydest;
- register const char *yys = yysrc;
+ char *yyd = yydest;
+ const char *yys = yysrc;
while ((*yyd++ = *yys++) != '\0')
continue;
@@ -924,8 +924,8 @@ yyparse ()
#endif
{
- register int yystate;
- register int yyn;
+ int yystate;
+ int yyn;
int yyresult;
/* Number of tokens to shift before error messages enabled. */
int yyerrstatus;
@@ -943,12 +943,12 @@ yyparse ()
/* The state stack. */
short int yyssa[YYINITDEPTH];
short int *yyss = yyssa;
- register short int *yyssp;
+ short int *yyssp;
/* The semantic value stack. */
YYSTYPE yyvsa[YYINITDEPTH];
YYSTYPE *yyvs = yyvsa;
- register YYSTYPE *yyvsp;
+ YYSTYPE *yyvsp;