Commit 73064edc by Tom de Vries Committed by Tom de Vries

gen-pass-instances.awk: Simplify match regexp in handle_line

2015-11-12  Tom de Vries  <tom@codesourcery.com>

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

From-SVN: r230220
parent c741b3dd
2015-11-12 Tom de Vries <tom@codesourcery.com> 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 * gen-pass-instances.awk (handle_line): Simplify init of
postfix_starts_at. postfix_starts_at.
...@@ -43,7 +43,7 @@ function handle_line() ...@@ -43,7 +43,7 @@ function handle_line()
line = $0; line = $0;
# Find call expression. # Find call expression.
call_starts_at = match(line, /NEXT_PASS \((.+)\)/); call_starts_at = match(line, /NEXT_PASS \(.+\)/);
if (call_starts_at == 0) if (call_starts_at == 0)
{ {
print line; print line;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment