generic-poky/bitbake/lib/bb/parse
Jacob Kroon f5a344441a bitbake: ast: Fix support for anonymous methods in wildcard .bbappend files
When using wildcard .bbappend files with anonymous methods in them,
bitbake/python fails to parse the generated code since the '%' is encoded
in the generated method name.

Fix this by including '%' in the convert-to-underscore list during
method name mangling.

While we're at it, move the method name mangling translation table
to a class variable, as suggested by Chris Larson.

[YOCTO #5864]

(Bitbake rev: 537f1f9bbe110acc9848ef95f43468c07d87af79)

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-24 12:42:40 +00:00
..
parse_py bitbake: ast/BBHandler/build: Add support for removing tasks (deltask) 2013-12-18 17:08:07 +00:00
__init__.py bitbake: parse: make vars_from_file return None for non-recipes 2014-02-17 15:34:45 +00:00
ast.py bitbake: ast: Fix support for anonymous methods in wildcard .bbappend files 2014-02-24 12:42:40 +00:00