PR17074 - ignore line terminator characters found inside strings.
[deliverable/binutils-gdb.git] / bfd / targmatch.sed
CommitLineData
dee99794
ILT
11,/START OF targmatch.h/ d
2/END OF targmatch.h/,$ d
3s/^#if/KEEP #if/
4s/^#endif/KEEP #endif/
5s/^[ ]*#.*$//
6s/^KEEP #/#/
7s/[ ]*\\$//
9f4b686c
ILT
8t lab1
9 :lab1
10s/[| ][| ]*\([^|() ][^|() ]*\)[ ]*|/{ "\1", NULL },/g
dee99794 11s/[| ][| ]*\([^|() ][^|() ]*\)[ ]*)/{ "\1",/g
9f4b686c
ILT
12t lab2
13s/^[ ]*targ_defvec=\([^ ]*\)/#if !defined (SELECT_VECS) || defined (HAVE_\1)/
14t lab3
dee99794
ILT
15s/.*=.*//
16s/;;//
9f4b686c
ILT
17b
18 :lab2
19H
20d
21 :lab3
22G
23s/\(defined (HAVE_\)\([^)]*\)\(.*\n*.*\n*.*\n*.*\)/\1\2\3\
24\&\2 },\
25#endif/
26p
27s/.*\n*.*\n*.*\n*.*//g
28h
This page took 0.095021 seconds and 4 git commands to generate.