* BugFix: Don't use the register keyword in the console grammar files.

This commit is contained in:
Robert MacGregor 2021-12-03 20:33:02 -05:00
parent 58f6431ff0
commit 5fa7c62ba9
2 changed files with 20 additions and 20 deletions

View file

@ -1247,9 +1247,9 @@ __yy_memcpy (from, to, count)
char *to;
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++;
@ -1262,9 +1262,9 @@ __yy_memcpy (from, to, count)
static void
__yy_memcpy (char *from, char *to, 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++;
@ -1292,10 +1292,10 @@ int
yyparse(YYPARSE_PARAM)
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 */