diff options
| author | Richard Henderson | 2020-09-03 21:23:34 +0200 |
|---|---|---|
| committer | Peter Maydell | 2020-09-14 15:23:19 +0200 |
| commit | acfdd2398dc929d4e87507b8acbdc19c88379e0e (patch) | |
| tree | be066aa0b91acca1715a88f27393d372de35f5af /scripts/check_sparse.py | |
| parent | hw/timer/armv7m_systick: assert that board code set system_clock_scale (diff) | |
| download | qemu-acfdd2398dc929d4e87507b8acbdc19c88379e0e.tar.gz qemu-acfdd2398dc929d4e87507b8acbdc19c88379e0e.tar.xz qemu-acfdd2398dc929d4e87507b8acbdc19c88379e0e.zip | |
decodetree: Improve identifier matching
Only argument set members have to be C identifiers, everything
else gets prefixed during conversion to C. Some places just
checked the leading character, and some places matched a leading
character plus a C identifier.
Convert everything to match full identifiers, including the
[&%@&] prefix, and drop the full C identifier requirement.
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200903192334.1603773-1-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/check_sparse.py')
0 files changed, 0 insertions, 0 deletions
