gen-pass-instances.awk: Simplify match regexp in handle_line
authorTom de Vries <tom@codesourcery.com>
Thu, 12 Nov 2015 10:02:58 +0000 (10:02 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Thu, 12 Nov 2015 10:02:58 +0000 (10:02 +0000)
2015-11-12  Tom de Vries  <tom@codesourcery.com>

* gen-pass-instances.awk (handle_line): Simplify match regexp.

From-SVN: r230220

gcc/ChangeLog
gcc/gen-pass-instances.awk

index c2949a843ceab0c5f37c5472b2dcf829191c6b4c..0b68dfaecbc008109be94604d9a2d9ee16e2db4b 100644 (file)
@@ -1,3 +1,7 @@
+2015-11-12  Tom de Vries  <tom@codesourcery.com>
+
+       * gen-pass-instances.awk (handle_line): Simplify match regexp.
+
 2015-11-12  Tom de Vries  <tom@codesourcery.com>
 
        * gen-pass-instances.awk (handle_line): Simplify init of
index 08d4a37e9aa72a8150fcef6442ab485c0b4187d2..cbfaa8674d56bd6411a8b5ab51e7af767bc8f375 100644 (file)
@@ -43,7 +43,7 @@ function handle_line()
        line = $0;
 
        # Find call expression.
-       call_starts_at = match(line, /NEXT_PASS \((.+)\)/);
+       call_starts_at = match(line, /NEXT_PASS \(.+\)/);
        if (call_starts_at == 0)
        {
                print line;