summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2017-09-19 22:53:00 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2017-09-19 22:53:00 +0200
commite3900b590dc05c9ddc98623ddeff334abeaaa6ec (patch)
tree6b31549b71b993fb71c60b8df6d3544e5c81877c /kconfiglib.py
parent375506d2f65baf1727a5963fa84826c4066f8275 (diff)
Add note on tokenization unhandled character hack
Isn't needed to be compatible with the latest upstream, but is kept around for compatibility.
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index f4467d3..5b9a2a9 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -1224,6 +1224,10 @@ class Config(object):
i = 0 # The current index in the string being tokenized
else:
+ # Note: This hack is no longer needed as of upstream commit c226456
+ # (kconfig: warn of unhandled characters in Kconfig commands). It
+ # is kept around for backwards compatibility.
+ #
# The initial word on a line is parsed specially. Let
# command_chars = [A-Za-z0-9_]. Then
# - leading non-command_chars characters are ignored, and