diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-20 13:21:14 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-22 00:01:48 +0000 |
commit | e0f05871c2a6f1e86ae19ad343c7c6f822ddb67e (patch) | |
tree | e64170cc204534a38c35dfa3884b2fa1da964543 /lib/bb/event.py | |
parent | 0fd04ede3fda6894d97a5ef830b79dbbc9c6cf51 (diff) | |
download | openembedded-core-contrib-e0f05871c2a6f1e86ae19ad343c7c6f822ddb67e.tar.gz |
BBHandler: Improve IN_PYTHON_EOF handling
Now we're actively using the line numbers for other thins, having
magic values like IN_PYTHON_EOF causes problems, in particular, 32
bit overflow on 32 bit machines.
There is a neater way to signal eof to feeder(), just using an extra
parameter so use this instead and drop the IN_PYTHON_EOF magic values.
This has the added bonus that line numbers are then correct for
python functions at the end of files.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/event.py')
0 files changed, 0 insertions, 0 deletions