gen-pass-instances.awk: Unify semicolon use in handle_line
authorTom de Vries <tom@codesourcery.com>
Thu, 12 Nov 2015 07:30:52 +0000 (07:30 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Thu, 12 Nov 2015 07:30:52 +0000 (07:30 +0000)
2015-11-12  Tom de Vries  <tom@codesourcery.com>

* gen-pass-instances.awk (handle_line): Unify semicolon use.

From-SVN: r230207

gcc/ChangeLog
gcc/gen-pass-instances.awk

index 8cf930d72ac40d57eb364d969ce0042c7893fcea..86152a64fe73bdba18178518fd23f814d12d2e63 100644 (file)
@@ -1,3 +1,7 @@
+2015-11-12  Tom de Vries  <tom@codesourcery.com>
+
+       * gen-pass-instances.awk (handle_line): Unify semicolon use.
+
 2015-11-12  Tom de Vries  <tom@codesourcery.com>
 
        * gen-pass-instances.awk (handle_line): Remove unused var line_length.
index 7f33e8c66feab99fa3f358cdfb3649f58b7f4dd5..9eaac65ae5e4b73676a6fcd73a30870ee6e34a5a 100644 (file)
@@ -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