Commit 5641d622 by Neil Booth Committed by Neil Booth

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

From-SVN: r67983
parent 117dca74
2003-06-15 Neil Booth <neil@daikokuya.co.uk>
* opts.sh: Quote '+' in regex.
2003-06-15 Andrew Pinski <pinskia@physics.uc.edu> 2003-06-15 Andrew Pinski <pinskia@physics.uc.edu>
* config/rs6000/t-rs6000: Add dependence of cfglayout.h to rs6000.o. * config/rs6000/t-rs6000: Add dependence of cfglayout.h to rs6000.o.
......
...@@ -49,7 +49,7 @@ ${AWK} ' ...@@ -49,7 +49,7 @@ ${AWK} '
result = "0" result = "0"
for (j = 0; j < n_langs; j++) { for (j = 0; j < n_langs; j++) {
regex = " " langs[j] " " regex = " " langs[j] " "
gsub ( "+", "\\+", regex ) gsub ( "\+", "\\+", regex )
if (flags ~ regex) if (flags ~ regex)
result = result " | " macros[j] result = result " | " macros[j]
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment