summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorOlof Johansson <olof.johansson@axis.com>2013-05-07 11:22:37 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-10 13:35:10 +0100
commit88a7b041fbf2583472aa9408a33dd8881223a0c1 (patch)
tree1517b821b4b7f674d6707ce1ef3e22c906db9085 /bitbake
parentd98419ae706c33f2d031598cb0914616bc7dfaa0 (diff)
downloadast2050-yocto-poky-88a7b041fbf2583472aa9408a33dd8881223a0c1.zip
ast2050-yocto-poky-88a7b041fbf2583472aa9408a33dd8881223a0c1.tar.gz
bitbake: pysh: Say what kind of token isn't implemented
When the shell lexer finds an unrecognized dollar token, the error message should contain what kind of token it is having problems with. (Bitbake rev: 1acb9c338018c612db519d2db823c66b567863b9) Signed-off-by: Olof Johansson <olof.johansson@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/pysh/pyshlex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/pysh/pyshlex.py b/bitbake/lib/bb/pysh/pyshlex.py
index b977b5e..b301236 100644
--- a/bitbake/lib/bb/pysh/pyshlex.py
+++ b/bitbake/lib/bb/pysh/pyshlex.py
@@ -292,7 +292,7 @@ class WordLexer:
elif sep=='${':
parsefunc = self._parse_parameter
else:
- raise NotImplementedError()
+ raise NotImplementedError(sep)
pos, closed = parsefunc(buf, result, eof)
return pos, closed
OpenPOWER on IntegriCloud