summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-12-22 05:28:12 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2019-12-22 08:54:50 +0100
commit87fab023d0121a9f27f0af8de85cedc6978af6cb (patch)
tree97f3dbc8f98cb6c6906823c2502d5c5476bb840d
parentf190dd82b2cacdd18770bcbfdf87a48770cd50e3 (diff)
Add "error: " to the error message for a missing endchoice/endif/endmenu
Makes it consistent with other parse errors and easier to find in logs, etc.
-rw-r--r--kconfiglib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 8687379..6b5e99b 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -3090,7 +3090,7 @@ class Kconfig(object):
if end_token:
raise KconfigError(
- "expected '{}' at end of '{}'"
+ "error: expected '{}' at end of '{}'"
.format("endchoice" if end_token is _T_ENDCHOICE else
"endif" if end_token is _T_ENDIF else
"endmenu",