aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorZdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>2004-06-14 19:36:29 +0200
committerZdenek Dvorak <rakdver@gcc.gnu.org>2004-06-14 17:36:29 +0000
commit44930935245c606dc826b43040603a71ad431e54 (patch)
tree53aaffa66a008be44791e5d3f999618a1a8a827f /gcc
parent25178498408d82ead8eab484067152398acb7335 (diff)
downloadgcc-44930935245c606dc826b43040603a71ad431e54.zip
gcc-44930935245c606dc826b43040603a71ad431e54.tar.gz
gcc-44930935245c606dc826b43040603a71ad431e54.tar.bz2
* opts.sh (var_args): Fix regexp.
From-SVN: r83120
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/opts.sh2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bfb6ccf..6444b06 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2004-06-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
+
+ * opts.sh (var_args): Fix regexp.
+
2004-06-14 Jakub Jelinek <jakub@redhat.com>
PR target/15178
diff --git a/gcc/opts.sh b/gcc/opts.sh
index 10abceb..f736181 100644
--- a/gcc/opts.sh
+++ b/gcc/opts.sh
@@ -75,7 +75,7 @@ ${AWK} '
if (flags !~ "Var\\(")
return "";
sub(".*Var\\(", "", flags);
- sub(").*", "", flags);
+ sub("\\).*", "", flags);
return flags;
}