commit | d3e8a4b96c80955e832981534b1f4c3856b6fdb4 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Thu Dec 28 12:59:33 2017 -0800 |
committer | Eric Anholt <eric@anholt.net> | Wed Jan 03 14:25:23 2018 -0800 |
tree | ee5621390ae0403b4d3d195d429f1c20b37bb79c | |
parent | 48cabc1e751bf537f4fdb2721d7a7492c8e401a1 [diff] |
broadcom/xml: Fix up safe name confusion with prefixing. For enums we were doubling the underscore if the value had a numeric first character of its name (which safe_name() adds an underscore to). A little helper function cleans up the other instance of prefixing while also fixing this.