|
Last change
on this file since 114 was 10, checked in by bird, 23 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
498 bytes
|
| Line | |
|---|
| 1 | 1,/START OF targmatch.h/ d
|
|---|
| 2 | /END OF targmatch.h/,$ d
|
|---|
| 3 | s/^#if/KEEP #if/
|
|---|
| 4 | s/^#endif/KEEP #endif/
|
|---|
| 5 | s/^[ ]*#.*$//
|
|---|
| 6 | s/^KEEP #/#/
|
|---|
| 7 | s/[ ]*\\$//
|
|---|
| 8 | t lab1
|
|---|
| 9 | :lab1
|
|---|
| 10 | s/[| ][| ]*\([^|() ][^|() ]*\)[ ]*|/{ "\1", NULL },/g
|
|---|
| 11 | s/[| ][| ]*\([^|() ][^|() ]*\)[ ]*)/{ "\1",/g
|
|---|
| 12 | t lab2
|
|---|
| 13 | s/^[ ]*targ_defvec=\([^ ]*\)/#if !defined (SELECT_VECS) || defined (HAVE_\1)/
|
|---|
| 14 | t lab3
|
|---|
| 15 | s/.*=.*//
|
|---|
| 16 | s/;;//
|
|---|
| 17 | b
|
|---|
| 18 | :lab2
|
|---|
| 19 | H
|
|---|
| 20 | d
|
|---|
| 21 | :lab3
|
|---|
| 22 | G
|
|---|
| 23 | s/\n/%EOL%/g
|
|---|
| 24 | s/\(defined (HAVE_\)\([^)]*\)\(.*\)/\1\2\3\
|
|---|
| 25 | \&\2 },\
|
|---|
| 26 | #endif/
|
|---|
| 27 | s/%EOL%/\
|
|---|
| 28 | /g
|
|---|
| 29 | p
|
|---|
| 30 | s/.*//g
|
|---|
| 31 | s/\n//g
|
|---|
| 32 | h
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.