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:
Tom de Vries 2015-11-12 10:02:49 +00:00 committed by Tom de Vries
parent b2a3c016f3
commit c741b3dd5e
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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