projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5641d62
)
* opts.sh: Quote '+' in regex.
author
Neil Booth
<neil@gcc.gnu.org>
Sun, 15 Jun 2003 19:34:27 +0000
(19:34 +0000)
committer
Neil Booth
<neil@gcc.gnu.org>
Sun, 15 Jun 2003 19:34:27 +0000
(19:34 +0000)
From-SVN: r67984
gcc/opts.sh
patch
|
blob
|
history
diff --git
a/gcc/opts.sh
b/gcc/opts.sh
index 84f2c62b079a4a223f071a8bf98b9be1751f3f59..27dbe4c29de7372c5403e12da13a537a098b3d19 100644
(file)
--- a/
gcc/opts.sh
+++ b/
gcc/opts.sh
@@
-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]
}