poky/bitbake/lib/bb/parse/parse_py
Tomasz Dziendzielski a30a06d9c1 bitbake: BBHandler: Don't classify shell functions that names start with "python*" as python function
If shell function name starts with 'python' or 'fakeroot' parser wrongly
assumes it's python/fakeroot function.

[YOCTO #14204]

Use regex lookahead assertions to check if 'python' expression is
followed by whitespace or '(' and if 'fakeroot' is followed by
whitespace.

(Bitbake rev: b07b226d5d1b3acd3f76d8365bc8002293365999)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10 23:48:16 +00:00
..
__init__.py bitbake: bitbake: lib: Cleanup /usr/bin/env python 2019-06-28 13:29:04 +01:00
BBHandler.py bitbake: BBHandler: Don't classify shell functions that names start with "python*" as python function 2021-02-10 23:48:16 +00:00
ConfHandler.py bitbake: bitbake: ConfHandler: Use with to manage filehandle lifetime 2019-10-28 05:31:53 +00:00