Closed staticshock closed 11 years ago
It is allowed in python function names (python foo () {} syntax, anyway, not 'def ...' syntax) as well, so we should alter that pattern too. See https://github.com/openembedded/bitbake/blob/master/lib/bb/parse/parse_py/BBHandler.py#L41 -- the same regex is used for both python and non-python functions. Note that ${} isn't allowed in python functions defined with 'def ...', however. Please also alter the python pattern and resubmit, if you would, Thanks for the contribution and issue reports!
This does it.
Thanks, sorry for the delay!
This takes care of parsing
${PN}
in shell function names, but not in python function names. It should be extended to python if that's allowed, but I grepped through meta-oe and found no python functions that actually make use of it.This fixes #3