diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-11-21 05:41:55 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-11-21 05:41:55 +0100 |
| commit | 1da720400dba38c435022ba316c1c13a8babb76a (patch) | |
| tree | 3f9ba67ce51019beb0b075e54b86b7f2304cf303 | |
| parent | ee254891063a190c256f6f622311e622811d110b (diff) | |
Make quotes consistent in parse error messages
| -rw-r--r-- | kconfiglib.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 16ad356..ca6ce8f 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -2712,7 +2712,7 @@ class Kconfig(object): elif t0 is _T_DEPENDS: if not self._check_token(_T_ON): - self._parse_error('expected "on" after "depends"') + self._parse_error("expected 'on' after 'depends'") node.dep = self._make_and(node.dep, self._expect_expr_and_eol()) @@ -2758,7 +2758,7 @@ class Kconfig(object): elif t0 is _T_VISIBLE: if not self._check_token(_T_IF): - self._parse_error('expected "if" after "visible"') + self._parse_error("expected 'if' after 'visible'") node.visibility = self._make_and(node.visibility, self._expect_expr_and_eol()) @@ -2767,7 +2767,7 @@ class Kconfig(object): elif t0 is _T_OPTION: if self._check_token(_T_ENV): if not self._check_token(_T_EQUAL): - self._parse_error('expected "=" after "env"') + self._parse_error("expected '=' after 'env'") env_var = self._expect_str_and_eol() node.item.env_var = env_var |
