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-14 18:04:02 +0100 |
commit | 6b54a72638f57882d4fd5aab96b2752a09e065af (patch) | |
tree | 6a92c1afb5a0697802cd54f3c6d46095bb0fda07 /bin/bitbake-selftest | |
parent | b1653855c74f86909c9f329ed6d2b10391c28395 (diff) | |
download | bitbake-contrib-6b54a72638f57882d4fd5aab96b2752a09e065af.tar.gz |
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]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin/bitbake-selftest')
0 files changed, 0 insertions, 0 deletions