gen-pass-instances.awk: Rename prefix_len var to len_of_prefix in handle_line
authorTom de Vries <tom@codesourcery.com>
Fri, 13 Nov 2015 13:40:46 +0000 (13:40 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Fri, 13 Nov 2015 13:40:46 +0000 (13:40 +0000)
2015-11-13  Tom de Vries  <tom@codesourcery.com>

* gen-pass-instances.awk (handle_line): Rename prefix_len var to
len_of_prefix.

From-SVN: r230320

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

index dab7d176e49aa1cf7eb2938cadb40a152aa86817..d616203793a7d6ceab5c024ed8104bd51549b4d7 100644 (file)
@@ -1,3 +1,8 @@
+2015-11-13  Tom de Vries  <tom@codesourcery.com>
+
+       * gen-pass-instances.awk (handle_line): Rename prefix_len var to
+       len_of_prefix.
+
 2015-11-13  Tom de Vries  <tom@codesourcery.com>
 
        * gen-pass-instances.awk (handle_line): Add args_str variable.
index 88bbb4daf1d56b081bc9a20c3660c41cdc1a9943..9cff4297388c62aab7a04f7dddc98d8914812645 100644 (file)
@@ -66,8 +66,8 @@ function handle_line()
        pass_name = args_str;
 
        # Find call expression prefix (until and including called function)
-       prefix_len = args_start_at - 1 - len_of_open;
-       prefix = substr(line, 1, prefix_len);
+       len_of_prefix = args_start_at - 1 - len_of_open;
+       prefix = substr(line, 1, len_of_prefix);
 
        # Find call expression postfix
        postfix_starts_at = call_starts_at + len_of_call;