Hi, this patch unifies semicolon use in handle_line in gen-pass-instances.awk.
Committed to trunk as trivial. Thanks, - Tom
gen-pass-instances.awk: Unify semicolon use in handle_line 2015-11-11 Tom de Vries <t...@codesourcery.com> * gen-pass-instances.awk (handle_line): Unify semicolon use. --- gcc/gen-pass-instances.awk | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/gen-pass-instances.awk b/gcc/gen-pass-instances.awk index 7f33e8c..9eaac65 100644 --- a/gcc/gen-pass-instances.awk +++ b/gcc/gen-pass-instances.awk @@ -41,14 +41,14 @@ BEGIN { function handle_line() { line = $0; - where = match(line, /NEXT_PASS \((.+)\)/) + where = match(line, /NEXT_PASS \((.+)\)/); if (where != 0) { - len_of_start = length("NEXT_PASS (") - len_of_end = length(")") - len_of_pass_name = RLENGTH - (len_of_start + len_of_end) - pass_starts_at = where + len_of_start - pass_name = substr(line, pass_starts_at, len_of_pass_name) + len_of_start = length("NEXT_PASS ("); + len_of_end = length(")"); + len_of_pass_name = RLENGTH - (len_of_start + len_of_end); + pass_starts_at = where + len_of_start; + pass_name = substr(line, pass_starts_at, len_of_pass_name); if (pass_name in pass_counts) pass_counts[pass_name]++; else