Commit 8ac499bb by Jan-Benedict Glaw Committed by Jan-Benedict Glaw

gen-pass-instances.awk: Fix offset of substr().

2013-07-31  Jan-Benedict Glaw  <jbglaw@owl.de>

	* gen-pass-instances.awk: Fix offset of substr().

From-SVN: r201364
parent 11510532
2013-07-31 Jan-Benedict Glaw <jbglaw@owl.de>
* gen-pass-instances.awk: Fix offset of substr().
2013-07-31 David Malcolm <dmalcolm@redhat.com>
* Makefile.in (pass-instances.def): New.
......
......@@ -55,7 +55,7 @@ function handle_line()
else
pass_counts[pass_name] = 1;
printf "%s, %s%s\n",
substr(line, 0, pass_starts_at + len_of_pass_name - 1),
substr(line, 1, pass_starts_at + len_of_pass_name - 1),
pass_counts[pass_name],
substr(line, pass_starts_at + len_of_pass_name);
} else {
......
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