* opts.sh: Quote '+' in regex.
From-SVN: r67983
This commit is contained in:
parent
117dca74cc
commit
5641d6223e
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2003-06-15 Neil Booth <neil@daikokuya.co.uk>
|
||||
|
||||
* opts.sh: Quote '+' in regex.
|
||||
|
||||
2003-06-15 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
* config/rs6000/t-rs6000: Add dependence of cfglayout.h to rs6000.o.
|
||||
|
|
|
@ -49,7 +49,7 @@ ${AWK} '
|
|||
result = "0"
|
||||
for (j = 0; j < n_langs; j++) {
|
||||
regex = " " langs[j] " "
|
||||
gsub ( "+", "\\+", regex )
|
||||
gsub ( "\+", "\\+", regex )
|
||||
if (flags ~ regex)
|
||||
result = result " | " macros[j]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue