diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-10-06 02:43:32 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-12-29 14:39:38 +0100 |
| commit | a565045f5e89b92d5f9c79b36fe60492d3e3119b (patch) | |
| tree | fe681824e1b2c7c5f84f1027f36e606cd50db067 /validation | |
| parent | 0c07b5979739336e07c60bf272b80cfe6b0b23fd (diff) | |
| download | sparse-dev-a565045f5e89b92d5f9c79b36fe60492d3e3119b.tar.gz | |
struct-attr: fix type attribute like 'struct __attr { ... }'
In a declaration like:
struct <some attribute> { ... }
the attribute belong to the type but is currently handled as belonging
to the whole declaration.
Fix this by handling such attributes in a local 'decl_state' and
applying them once the closing '}' is reached.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation')
0 files changed, 0 insertions, 0 deletions
