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
This commit is contained in:
parent
c741b3dd5e
commit
73064edc3a
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue