diff options
-rw-r--r-- | bitbake/lib/bb/parse/ast.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py index dfc0b02..4caa93e 100644 --- a/bitbake/lib/bb/parse/ast.py +++ b/bitbake/lib/bb/parse/ast.py @@ -134,6 +134,7 @@ class MethodNode(AstNode): anonfuncs = data.getVar('__BBANONFUNCS') or [] anonfuncs.append(funcname) data.setVar('__BBANONFUNCS', anonfuncs) + data.setVar(funcname, text) else: data.setVarFlag(self.func_name, "func", 1) data.setVar(self.func_name, text) |