gen-pass-instances.awk: Simplify init of postfix_starts_at in handle_line
2015-11-12 Tom de Vries <tom@codesourcery.com> * gen-pass-instances.awk (handle_line): Simplify init of postfix_starts_at. From-SVN: r230219
This commit is contained in:
parent
b2a3c016f3
commit
c741b3dd5e
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-11-12 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
* gen-pass-instances.awk (handle_line): Simplify init of
|
||||
postfix_starts_at.
|
||||
|
||||
2015-11-12 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
* gen-pass-instances.awk (handle_line): Rename var where to
|
||||
|
|
|
@ -67,7 +67,7 @@ function handle_line()
|
|||
prefix = substr(line, 1, prefix_len);
|
||||
|
||||
# Find call expression postfix
|
||||
postfix_starts_at = pass_starts_at + len_of_pass_name + len_of_close;
|
||||
postfix_starts_at = call_starts_at + len_of_call;
|
||||
postfix = substr(line, postfix_starts_at);
|
||||
|
||||
# Set pass_counts
|
||||
|
|
Loading…
Add table
Reference in a new issue