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
5403593a
Commit
5403593a
authored
Jun 03, 1999
by
Bruce Korb
Committed by
Bruce Korb
Jun 03, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Io_Def_Quotes): corrected sed expression
From-SVN: r27327
parent
b4f70b3d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
3 deletions
+12
-3
gcc/ChangeLog
+6
-0
gcc/fixinc/fixincl.x
+2
-1
gcc/fixinc/inclhack.def
+2
-1
gcc/fixinc/inclhack.sh
+2
-1
No files found.
gcc/ChangeLog
View file @
5403593a
Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
*fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
*fixinc/fixincl.x: regenerate
*fixinc/inclhack.sh: regenerate
Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
* dwarf2out.c (add_incomplete_type): New fn.
...
...
gcc/fixinc/fixincl.x
View file @
5403593a
...
...
@@ -1079,7 +1079,8 @@ tTestDesc aIo_Def_QuotesTests[] = {
* Fix Command Arguments for Io_Def_Quotes
*/
const char* apzIo_Def_QuotesPatch[] = { "sed",
"-e", "s/\\([ \t]*[ \t](_|DES)IO[A-Z]*[ \t]*(\\)\\([^,']\\),/\\1'\\2',/",
"-e", "s/\\([ \t]*[ \t]_IO[A-Z]*[ \t]*(\\)\\([^,']\\),/\\1'\\2',/",
"-e", "s/\\([ \t]*[ \t]DESIO[A-Z]*[ \t]*(\\)\\([^,']\\),/\\1'\\2',/",
"-e", "/#[ \t]*define[ \t]*[ \t]_IO/s/'\\([cgxtf]\\)'/\\1/g",
"-e", "/#[ \t]*define[ \t]*[ \t]DESIOC/s/'\\([cdgx]\\)'/\\1/g",
(char*)NULL };
...
...
gcc/fixinc/inclhack.def
View file @
5403593a
...
...
@@ -567,7 +567,8 @@ fix = {
fix = {
hackname = io_def_quotes;
select = "[ \t]*[ \t](_|DES)IO[A-Z]*[ \t]*\\( *[^,']";
sed = "s/\\([ \t]*[ \t](_|DES)IO[A-Z]*[ \t]*(\\)\\([^,']\\),/\\1'\\2',/";
sed = "s/\\([ \t]*[ \t]_IO[A-Z]*[ \t]*(\\)\\([^,']\\),/\\1'\\2',/";
sed = "s/\\([ \t]*[ \t]DESIO[A-Z]*[ \t]*(\\)\\([^,']\\),/\\1'\\2',/";
sed = "/#[ \t]*define[ \t]*[ \t]_IO/" "s/'\\([cgxtf]\\)'/\\1/g";
sed = "/#[ \t]*define[ \t]*[ \t]DESIOC/" 's/\'\([cdgx]\)\'/\1/g';
};
...
...
gcc/fixinc/inclhack.sh
View file @
5403593a
...
...
@@ -1056,7 +1056,8 @@ extern "C" {\
then infile=${file}
else infile=${DESTFILE} ; fi
sed -e '
s/
\(
[
]
*
[
](
_|DES
)
IO[A-Z]
*
[
]
*
(
\)\(
[
^,
'\'']\),/\1'
\'
'\2'
\'
',/'
\
sed -e '
s/
\(
[
]
*
[
]
_IO[A-Z]
*
[
]
*
(
\)\(
[
^,
'\'']\),/\1'
\'
'\2'
\'
',/'
\
-e
's/\([ ]*[ ]DESIO[A-Z]*[ ]*(\)\([^,'
\'
']\),/\1'
\'
'\2'
\'
',/'
\
-e
'/#[ ]*define[ ]*[ ]_IO/s/'
\'
'\([cgxtf]\)'
\'
'/\1/g'
\
-e
'/#[ ]*define[ ]*[ ]DESIOC/s/'
\'
'\([cdgx]\)'
\'
'/\1/g'
\
<
$infile
>
${
DESTDIR
}
/fixinc.tmp
...
...
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