From 73064edc3abd72816813ca4c748b81e1c207bf66 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Thu, 12 Nov 2015 10:02:58 +0000 Subject: [PATCH] gen-pass-instances.awk: Simplify match regexp in handle_line 2015-11-12 Tom de Vries * gen-pass-instances.awk (handle_line): Simplify match regexp. From-SVN: r230220 --- gcc/ChangeLog | 4 ++++ gcc/gen-pass-instances.awk | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c2949a843ce..0b68dfaecbc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-11-12 Tom de Vries + + * gen-pass-instances.awk (handle_line): Simplify match regexp. + 2015-11-12 Tom de Vries * gen-pass-instances.awk (handle_line): Simplify init of diff --git a/gcc/gen-pass-instances.awk b/gcc/gen-pass-instances.awk index 08d4a37e9aa..cbfaa8674d5 100644 --- a/gcc/gen-pass-instances.awk +++ b/gcc/gen-pass-instances.awk @@ -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; -- 2.30.2