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
8f7ac220
Commit
8f7ac220
authored
Mar 20, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(yylex): Copy the string value we get from __FUNCTION__.
From-SVN: r3798
parent
2bb3413d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
gcc/c-lex.c
+6
-1
No files found.
gcc/c-lex.c
View file @
8f7ac220
...
...
@@ -1167,7 +1167,12 @@ yylex ()
&&
DECL_INITIAL
(
lastiddecl
)
!=
0
&&
TREE_CODE
(
DECL_INITIAL
(
lastiddecl
))
==
STRING_CST
)
{
yylval
.
ttype
=
DECL_INITIAL
(
lastiddecl
);
tree
stringval
=
DECL_INITIAL
(
lastiddecl
);
/* Copy the string value so that we won't clobber anything
if we put something in the TREE_CHAIN of this one. */
yylval
.
ttype
=
build_string
(
TREE_STRING_LENGTH
(
stringval
),
TREE_STRING_POINTER
(
stringval
));
value
=
STRING
;
}
else
if
(
doing_objc_thang
)
...
...
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