diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2025-01-13 18:00:41 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2025-01-18 02:59:58 +0300 |
commit | bc3a812b751ae1a4d91b3ea667ed77e76398bf46 (patch) | |
tree | b849580304a4d5bd83327bf35b721d3d7aaa348e /scripts/gdb/linux/utils.py | |
parent | f33bfbd171a03c5d3f64ce956ccdfbece7114da4 (diff) | |
download | linux-bc3a812b751ae1a4d91b3ea667ed77e76398bf46.tar.xz |
genksyms: reduce type_qualifier directly to decl_specifier
A type_qualifier (const, volatile, etc.) is not a type_specifier.
According to K&R [1], a type-qualifier should be directly reduced to
a declaration-specifier.
<declaration-specifier> ::= <storage-class-specifier>
| <type-specifier>
| <type-qualifier>
[1]: https://cs.wmich.edu/~gupta/teaching/cs4850/sumII06/The%20syntax%20of%20C%20in%20Backus-Naur%20form.htm
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Nicolas Schier <n.schier@avm.de>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions