daily update
[deliverable/binutils-gdb.git] / bfd / targmatch.sed
CommitLineData
252b5132
RH
11,/START OF targmatch.h/ d
2/END OF targmatch.h/,$ d
102ab332 3/^[ ]*case/,/^[ ]*esac/ d
252b5132
RH
4s/^#if/KEEP #if/
5s/^#endif/KEEP #endif/
6s/^[ ]*#.*$//
7s/^KEEP #/#/
8s/[ ]*\\$//
9t lab1
10 :lab1
11s/[| ][| ]*\([^|() ][^|() ]*\)[ ]*|/{ "\1", NULL },/g
12s/[| ][| ]*\([^|() ][^|() ]*\)[ ]*)/{ "\1",/g
13t lab2
14s/^[ ]*targ_defvec=\([^ ]*\)/#if !defined (SELECT_VECS) || defined (HAVE_\1)/
15t lab3
16s/.*=.*//
17s/;;//
18b
19 :lab2
20H
21d
22 :lab3
23G
24s/\n/%EOL%/g
25s/\(defined (HAVE_\)\([^)]*\)\(.*\)/\1\2\3\
26\&\2 },\
27#endif/
28s/%EOL%/\
29/g
30p
31s/.*//g
32s/\n//g
33h
This page took 0.125414 seconds and 4 git commands to generate.