From 87fab023d0121a9f27f0af8de85cedc6978af6cb Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sun, 22 Dec 2019 05:28:12 +0100 Subject: 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. --- kconfiglib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit v1.2.3