Commit c741b3dd by Tom de Vries Committed by Tom de Vries

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
parent b2a3c016
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 init of
postfix_starts_at.
2015-11-12 Tom de Vries <tom@codesourcery.com>
* gen-pass-instances.awk (handle_line): Rename var where to * gen-pass-instances.awk (handle_line): Rename var where to
call_starts_at. call_starts_at.
...@@ -67,7 +67,7 @@ function handle_line() ...@@ -67,7 +67,7 @@ function handle_line()
prefix = substr(line, 1, prefix_len); prefix = substr(line, 1, prefix_len);
# Find call expression postfix # 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); postfix = substr(line, postfix_starts_at);
# Set pass_counts # Set pass_counts
......
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