From e3900b590dc05c9ddc98623ddeff334abeaaa6ec Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Tue, 19 Sep 2017 22:53:00 +0200 Subject: Add note on tokenization unhandled character hack Isn't needed to be compatible with the latest upstream, but is kept around for compatibility. --- kconfiglib.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'kconfiglib.py') 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 -- cgit v1.2.3