diff options
Diffstat (limited to 'bitbake/lib/bb/parse/ast.py')
-rw-r--r-- | bitbake/lib/bb/parse/ast.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py index 31bcc8e7ac..4b1b44ce19 100644 --- a/bitbake/lib/bb/parse/ast.py +++ b/bitbake/lib/bb/parse/ast.py | |||
@@ -333,6 +333,10 @@ def runAnonFuncs(d): | |||
333 | def finalize(fn, d, variant = None): | 333 | def finalize(fn, d, variant = None): |
334 | saved_handlers = bb.event.get_handlers().copy() | 334 | saved_handlers = bb.event.get_handlers().copy() |
335 | try: | 335 | try: |
336 | # Found renamed variables. Exit immediately | ||
337 | if d.getVar("_FAILPARSINGERRORHANDLED", False) == True: | ||
338 | raise bb.BBHandledException() | ||
339 | |||
336 | for var in d.getVar('__BBHANDLERS', False) or []: | 340 | for var in d.getVar('__BBHANDLERS', False) or []: |
337 | # try to add the handler | 341 | # try to add the handler |
338 | handlerfn = d.getVarFlag(var, "filename", False) | 342 | handlerfn = d.getVarFlag(var, "filename", False) |