summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsJavaParser.cxx
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2013-06-28 16:26:44 (GMT)
committerBrad King <brad.king@kitware.com>2013-06-28 20:37:49 (GMT)
commit1399825cf9ef361e809b82463c69a212ac725bcb (patch)
treef5088429e38ee676c0f70b4ec7923eac11999719 /Source/cmDependsJavaParser.cxx
parentdaaf6283f5c0e8b7ea7ee93f983ad56d4498788d (diff)
downloadCMake-1399825cf9ef361e809b82463c69a212ac725bcb.zip
CMake-1399825cf9ef361e809b82463c69a212ac725bcb.tar.gz
CMake-1399825cf9ef361e809b82463c69a212ac725bcb.tar.bz2
Remove some uses of obsolete 'register' storage specifier
Remove the keyword from all Source/* files outside of KWSys.
Diffstat (limited to 'Source/cmDependsJavaParser.cxx')
-rw-r--r--Source/cmDependsJavaParser.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmDependsJavaParser.cxx b/Source/cmDependsJavaParser.cxx
index 7f7c385..586c0de 100644
--- a/Source/cmDependsJavaParser.cxx
+++ b/Source/cmDependsJavaParser.cxx
@@ -446,7 +446,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]; \
} \
@@ -1821,7 +1821,7 @@ yystrlen (yystr)
const char *yystr;
# endif
{
- register const char *yys = yystr;
+ const char *yys = yystr;
while (*yys++ != '\0')
continue;
@@ -1846,8 +1846,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;
@@ -1977,8 +1977,8 @@ YYSTYPE yylval;
/* Number of syntax errors so far. */
int yynerrs;
- register int yystate;
- register int yyn;
+ int yystate;
+ int yyn;
int yyresult;
/* Number of tokens to shift before error messages enabled. */
int yyerrstatus;
@@ -1996,12 +1996,12 @@ int yynerrs;
/* 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;