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
f803dcf8
Commit
f803dcf8
authored
Jan 16, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(rescan): Fix typo that caused tokens to be glued together improperly.
From-SVN: r8763
parent
e6d8c385
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
gcc/cccp.c
+11
-10
No files found.
gcc/cccp.c
View file @
f803dcf8
/* C Compatible Compiler Preprocessor (CCCP)
Copyright (C) 1986, 87, 89, 92, 93,
1994
Free Software Foundation, Inc.
Copyright (C) 1986, 87, 89, 92, 93,
94, 1995
Free Software Foundation, Inc.
Written by Paul Rubin, June 1986
Adapted to ANSI C, Richard Stallman, Jan 1987
...
...
@@ -3290,15 +3290,16 @@ startagain:
/* Prevent accidental token-pasting with a character
before the macro call. */
if
(
!
traditional
&&
obp
!=
op
->
buf
&&
(
obp
[
-
1
]
==
'-'
||
obp
[
1
]
==
'+'
||
obp
[
1
]
==
'&'
||
obp
[
-
1
]
==
'|'
||
obp
[
1
]
==
'<'
||
obp
[
1
]
==
'>'
))
{
/* If we are expanding a macro arg, make a newline marker
to separate the tokens. If we are making real output,
a plain space will do. */
if
(
output_marks
)
*
obp
++
=
'\n'
;
*
obp
++
=
' '
;
if
(
!
traditional
&&
obp
!=
op
->
buf
)
{
switch
(
obp
[
-
1
])
{
case
'&'
:
case
'+'
:
case
'-'
:
case
'<'
:
case
'>'
:
case
'|'
:
/* If we are expanding a macro arg, make a newline marker
to separate the tokens. If we are making real output,
a plain space will do. */
if
(
output_marks
)
*
obp
++
=
'\n'
;
*
obp
++
=
' '
;
}
}
/* Expand the macro, reading arguments as needed,
...
...
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