summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-06-17 19:59:27 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2015-06-17 19:59:27 +0200
commiteec0137173c84f2ab040e2941f79fe72ef054b5c (patch)
treeb710304efd0c884564f320abd99038b2035b731b /kconfiglib.py
parent4ee7194809d31175074879d1b1a69ef5606eb32c (diff)
_tokenize() comment nits.
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index a6d1f5d..f620e11 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -666,18 +666,18 @@ class Config(object):
# Jump past it
i = id_keyword_match.end()
- # Keyword?
keyword = _get_keyword(name)
if keyword is not None:
+ # It's a keyword
append(keyword)
- # What would ordinarily be considered a name is treated as a
- # string after certain tokens.
elif previous in STRING_LEX:
+ # What would ordinarily be considered a symbol name is
+ # treated as a string after certain tokens
append(name)
else:
- # We're dealing with a symbol. _sym_lookup() will take care
- # of allocating a new Symbol instance if it's the first
- # time we see it.
+ # It's a symbol name. _sym_lookup() will take care of
+ # allocating a new Symbol instance if it's the first time
+ # we see it.
sym = self._sym_lookup(name, not for_eval)
if previous == T_CONFIG or previous == T_MENUCONFIG: