summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/gen_qregexpparser.cc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:38 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:38 +0900
commit40fd0fdd5fdd145fc6a8479e351a322a7bdf27c7 (patch)
tree27db620ff61ef3c0d13cb4d94288f054fb981c9b /kregexpeditor/gen_qregexpparser.cc
parentfc4ea6af6cf302fadbc4298b88e265b918e8be25 (diff)
downloadtdeutils-40fd0fdd5fdd145fc6a8479e351a322a7bdf27c7.tar.gz
tdeutils-40fd0fdd5fdd145fc6a8479e351a322a7bdf27c7.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kregexpeditor/gen_qregexpparser.cc')
-rw-r--r--kregexpeditor/gen_qregexpparser.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/kregexpeditor/gen_qregexpparser.cc b/kregexpeditor/gen_qregexpparser.cc
index 377f549..4fdefbc 100644
--- a/kregexpeditor/gen_qregexpparser.cc
+++ b/kregexpeditor/gen_qregexpparser.cc
@@ -240,7 +240,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]; \
} \
@@ -594,7 +594,7 @@ yystrlen (yystr)
const char *yystr;
# endif
{
- register const char *yys = yystr;
+ const char *yys = yystr;
while (*yys++ != '\0')
continue;
@@ -619,8 +619,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;
@@ -741,8 +741,8 @@ yyparse (YYPARSE_PARAM_ARG)
YYPARSE_PARAM_DECL
{
- register int yystate;
- register int yyn;
+ int yystate;
+ int yyn;
int yyresult;
/* Number of tokens to shift before error messages enabled. */
int yyerrstatus;
@@ -760,12 +760,12 @@ yyparse (YYPARSE_PARAM_ARG)
/* The state stack. */
short yyssa[YYINITDEPTH];
short *yyss = yyssa;
- register short *yyssp;
+ short *yyssp;
/* The semantic value stack. */
YYSTYPE yyvsa[YYINITDEPTH];
YYSTYPE *yyvs = yyvsa;
- register YYSTYPE *yyvsp;
+ YYSTYPE *yyvsp;