Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
0671ee41
Commit
0671ee41
authored
Jan 06, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(yylex): Make tokstart an unsigned char *.
From-SVN: r3115
parent
6ae97920
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
gcc/cexp.y
+5
-5
No files found.
gcc/cexp.y
View file @
0671ee41
...
...
@@ -460,13 +460,13 @@ yylex ()
{
register int c;
register int namelen;
register char *tokstart;
register
unsigned
char *tokstart;
register struct token *toktab;
int wide_flag;
retry:
tokstart = lexptr;
tokstart =
(unsigned char *)
lexptr;
c = *tokstart;
/* See if it is a special token of length 2. */
if (! keyword_parsing)
...
...
@@ -522,7 +522,7 @@ yylex ()
else if (c == '\'')
break;
}
yylval.name.address =
(U_CHAR *)
tokstart;
yylval.name.address = tokstart;
yylval.name.length = lexptr - start_ptr;
return NAME;
}
...
...
@@ -677,7 +677,7 @@ yylex ()
else if (c == '"')
break;
}
yylval.name.address =
(U_CHAR *)
tokstart;
yylval.name.address = tokstart;
yylval.name.length = lexptr - start_ptr;
return NAME;
}
...
...
@@ -716,7 +716,7 @@ yylex ()
}
lexptr += namelen;
yylval.name.address =
(U_CHAR *)
tokstart;
yylval.name.address = tokstart;
yylval.name.length = namelen;
return NAME;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment