diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-14 17:56:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-15 17:45:00 +0100 |
commit | fd731142e9e6d31c6735228c67ae0e87b6d4d239 (patch) | |
tree | ed83c2190f091b95752949f9702d8f0e4b4ea97c /bitbake/bin/bitbake-selftest | |
parent | c5316d4d57878eb05cabf1e724242610b86ca2cb (diff) | |
download | poky-fd731142e9e6d31c6735228c67ae0e87b6d4d239.tar.gz |
bitbake: BBHandler: Error for incomplete function definitions
Add some sanity checks on the parsing state engine when returning data
so that incomplete functions raise parse errors.
This means a recipe doing:
do_somefunction {
echo 1
VAR = "1"
will now raise a ParseError. To get the right file/line information,
__infunc__ was changed to a list.
[YOCTO #7633]
(Bitbake rev: 6b54a72638f57882d4fd5aab96b2752a09e065af)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin/bitbake-selftest')
0 files changed, 0 insertions, 0 deletions