From: Tom de Vries Date: Thu, 12 Nov 2015 10:02:58 +0000 (+0000) Subject: gen-pass-instances.awk: Simplify match regexp in handle_line X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73064edc3abd72816813ca4c748b81e1c207bf66;p=gcc.git 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 --- 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;