diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2019-12-22 05:28:12 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2019-12-22 08:54:50 +0100 |
| commit | 87fab023d0121a9f27f0af8de85cedc6978af6cb (patch) | |
| tree | 97f3dbc8f98cb6c6906823c2502d5c5476bb840d /kconfiglib.py | |
| parent | f190dd82b2cacdd18770bcbfdf87a48770cd50e3 (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.
Diffstat (limited to 'kconfiglib.py')
| -rw-r--r-- | kconfiglib.py | 2 |
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", |
