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
e95d117b
Commit
e95d117b
authored
Feb 03, 1998
by
Mumit Khan
Committed by
Jason Merrill
Feb 03, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lex.c (file_name_nondirectory): Also check for '/'.
From-SVN: r17634
parent
309ca998
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
gcc/cp/ChangeLog
+4
-0
gcc/cp/lex.c
+3
-1
No files found.
gcc/cp/ChangeLog
View file @
e95d117b
Tue Jan 6 01:42:44 1998 Mumit Khan <khan@xraylith.wisc.edu>
* lex.c (file_name_nondirectory): Also check for '/'.
Mon Feb 2 11:24:22 1998 Mark Mitchell <mmitchell@usa.net>
* parse.y (primary): Deal with statement-expressions in
...
...
gcc/cp/lex.c
View file @
e95d117b
...
...
@@ -117,7 +117,9 @@ char *
file_name_nondirectory
(
x
)
char
*
x
;
{
char
*
tmp
=
(
char
*
)
rindex
(
x
,
DIR_SEPARATOR
);
char
*
tmp
=
(
char
*
)
rindex
(
x
,
'/'
);
if
(
DIR_SEPARATOR
!=
'/'
&&
!
tmp
)
tmp
=
(
char
*
)
rindex
(
x
,
DIR_SEPARATOR
);
if
(
tmp
)
return
(
char
*
)
(
tmp
+
1
);
else
...
...
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