summaryrefslogtreecommitdiff
path: root/gcc/gen-pass-instances.awk
diff options
context:
space:
mode:
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>2015-11-13 13:40:46 +0000
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>2015-11-13 13:40:46 +0000
commitc799e79c28e95fec019664b6433bb165e94f64ee (patch)
tree9f42fa4d1844438660e55fad06832d90fc917d09 /gcc/gen-pass-instances.awk
parent7dadcfe1ef0c20fa8554cd7fa91c61f718e9d507 (diff)
downloadgcc-c799e79c28e95fec019664b6433bb165e94f64ee.tar.gz
gen-pass-instances.awk: Rename prefix_len var to len_of_prefix in handle_line
2015-11-13 Tom de Vries <tom@codesourcery.com> * gen-pass-instances.awk (handle_line): Rename prefix_len var to len_of_prefix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230320 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gen-pass-instances.awk')
-rw-r--r--gcc/gen-pass-instances.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gen-pass-instances.awk b/gcc/gen-pass-instances.awk
index 88bbb4daf1d..9cff4297388 100644
--- a/gcc/gen-pass-instances.awk
+++ b/gcc/gen-pass-instances.awk
@@ -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;