summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-06-06 05:55:23 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2015-06-06 05:55:39 +0200
commit01d3b13b1123cdc80516f9d06821133fde1c8707 (patch)
tree13b85b3d4d96660a338cfe38de0657cb6558671e /kconfiglib.py
parent353bdd8cadfa1649d35ae6c87b6803c0b5ac134b (diff)
s/value/val/ in string parsing.
For consistency.
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index fc5d14f..9ed81ea 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -712,7 +712,7 @@ class Config(object):
# Slow path: This could probably be sped up, but it's a
# very unusual case anyway.
quote = c
- value = ""
+ val = ""
while 1:
if i >= len(s):
_tokenization_error(s, filename, linenr)
@@ -722,13 +722,13 @@ class Config(object):
if c == "\\":
if i + 1 >= len(s):
_tokenization_error(s, filename, linenr)
- value += s[i + 1]
+ val += s[i + 1]
i += 2
else:
- value += c
+ val += c
i += 1
i += 1
- append(value)
+ append(val)
else:
# Fast path: If the string contains no backslashes (almost
# always) we can simply look for the matching quote.