* opts.sh: Quote '+' in regex.

From-SVN: r67983
This commit is contained in:
Neil Booth 2003-06-15 19:21:48 +00:00 committed by Neil Booth
parent 117dca74cc
commit 5641d6223e
2 changed files with 5 additions and 1 deletions

View file

@ -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.

View file

@ -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]
}