summaryrefslogtreecommitdiffstats
path: root/mcopidl/yacc.cc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:33 +0900
commit9d57e3ae1b71f4f21f56b7a45cb92b64250e2b04 (patch)
tree86303b250586d986ea4ef73c8a3059b172f3e8f1 /mcopidl/yacc.cc
parent8a30d26ad48c3cad6800c365c6d27ae2d676294c (diff)
downloadarts-9d57e3ae1b71f4f21f56b7a45cb92b64250e2b04.tar.gz
arts-9d57e3ae1b71f4f21f56b7a45cb92b64250e2b04.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'mcopidl/yacc.cc')
-rw-r--r--mcopidl/yacc.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/mcopidl/yacc.cc b/mcopidl/yacc.cc
index e063506..054f71b 100644
--- a/mcopidl/yacc.cc
+++ b/mcopidl/yacc.cc
@@ -522,9 +522,9 @@ __yy_memcpy (to, from, count)
char *from;
unsigned int count;
{
- register char *f = from;
- register char *t = to;
- register int i = count;
+ char *f = from;
+ char *t = to;
+ int i = count;
while (i-- > 0)
*t++ = *f++;
@@ -537,9 +537,9 @@ __yy_memcpy (to, from, count)
static void
__yy_memcpy (char *to, char *from, unsigned int count)
{
- register char *t = to;
- register char *f = from;
- register int i = count;
+ char *t = to;
+ char *f = from;
+ int i = count;
while (i-- > 0)
*t++ = *f++;
@@ -582,10 +582,10 @@ int
yyparse(YYPARSE_PARAM_ARG)
YYPARSE_PARAM_DECL
{
- register int yystate;
- register int yyn;
- register short *yyssp;
- register YYSTYPE *yyvsp;
+ int yystate;
+ int yyn;
+ short *yyssp;
+ YYSTYPE *yyvsp;
int yyerrstatus; /* number of tokens to shift before error messages enabled */
int yychar1 = 0; /* lookahead token as an internal (translated) token number */