mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 18:32:15 +02:00
bitbake: Revert "BBHandler: Ensure parser state engine is correctly reset for new parsing"
This reverts commit 1a4ea02932d07c437187f67ac5b6e25ad76ee84a. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -107,15 +107,14 @@ def get_statements(filename, absolute_filename, base_name):
|
|||||||
return statements
|
return statements
|
||||||
|
|
||||||
def handle(fn, d, include):
|
def handle(fn, d, include):
|
||||||
global __func_start_regexp__, __inherit_regexp__, __export_func_regexp__, __addtask_regexp__, __addhandler_regexp__, __infunc__, __body__, __residue__, __inpython__, classes
|
global __func_start_regexp__, __inherit_regexp__, __export_func_regexp__, __addtask_regexp__, __addhandler_regexp__, __infunc__, __body__, __residue__
|
||||||
__body__ = []
|
__body__ = []
|
||||||
__infunc__ = ""
|
__infunc__ = ""
|
||||||
__classname__ = ""
|
__classname__ = ""
|
||||||
__residue__ = []
|
__residue__ = []
|
||||||
__inpython__ = False
|
|
||||||
|
|
||||||
if include == 0:
|
if include == 0:
|
||||||
classes = [ None, ]
|
|
||||||
logger.debug(2, "BB %s: handle(data)", fn)
|
logger.debug(2, "BB %s: handle(data)", fn)
|
||||||
else:
|
else:
|
||||||
logger.debug(2, "BB %s: handle(data, include)", fn)
|
logger.debug(2, "BB %s: handle(data, include)", fn)
|
||||||
|
|||||||
Reference in New Issue
Block a user