From: Neil Booth Date: Sun, 15 Jun 2003 19:34:27 +0000 (+0000) Subject: * opts.sh: Quote '+' in regex. X-Git-Tag: releases/gcc-3.4.0~5809 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d57a5ccfe3b9c773b7c9c933ced25cd9ad002e3;p=thirdparty%2Fgcc.git * opts.sh: Quote '+' in regex. From-SVN: r67984 --- diff --git a/gcc/opts.sh b/gcc/opts.sh index 84f2c62b079a..27dbe4c29de7 100644 --- 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] }