mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 04:04:43 +01:00
Similar to the previous commit, this change makes the parser logic a
little more accurate.
Currently, genksyms accepts the following invalid code:
struct foo {
int (*callback)(int)(int)(int);
};
A direct-declarator should not recursively absorb multiple
( parameter-type-list ) constructs.
In the example above, (*callback) should be followed by at most one
(int).
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Nicolas Schier <n.schier@avm.de>
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| genksyms.c | ||
| genksyms.h | ||
| keywords.c | ||
| lex.l | ||
| Makefile | ||
| parse.y | ||