diff options
Diffstat (limited to 'bitbake/lib/bb/parse')
-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 dfc0b02245..4caa93e044 100644 --- a/bitbake/lib/bb/parse/ast.py +++ b/bitbake/lib/bb/parse/ast.py | |||
@@ -134,6 +134,7 @@ class MethodNode(AstNode): | |||
134 | anonfuncs = data.getVar('__BBANONFUNCS') or [] | 134 | anonfuncs = data.getVar('__BBANONFUNCS') or [] |
135 | anonfuncs.append(funcname) | 135 | anonfuncs.append(funcname) |
136 | data.setVar('__BBANONFUNCS', anonfuncs) | 136 | data.setVar('__BBANONFUNCS', anonfuncs) |
137 | data.setVar(funcname, text) | ||
137 | else: | 138 | else: |
138 | data.setVarFlag(self.func_name, "func", 1) | 139 | data.setVarFlag(self.func_name, "func", 1) |
139 | data.setVar(self.func_name, text) | 140 | data.setVar(self.func_name, text) |