[PATCH v2 21/28] docs: c_lex: add "@" operator

Mauro Carvalho Chehab
2026-03-12T14:55:01Z

This was missing at OP regex.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
tools/lib/python/kdoc/c_lex.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/lib/python/kdoc/c_lex.py b/tools/lib/python/kdoc/c_lex.py
index 689ad64ecbe4..a61f5fe88363 100644
--- a/tools/lib/python/kdoc/c_lex.py
+++ b/tools/lib/python/kdoc/c_lex.py
@@ -100,7 +100,7 @@ TOKEN_LIST = [
(CToken.HASH, r"#"),

(CToken.OP, r"\+\+|\-\-|\->|==|\!=|<=|>=|&&|\|\||<<|>>|\+=|\-=|\*=|/=|%="
- r"|&=|\|=|\^=|=|\+|\-|\*|/|%|<|>|&|\||\^|~|!|\?|\:"),
+ r"|&=|\|=|\^=|=|\+|\-|\*|/|%|<|>|&|\||\^|~|!|\?|\:|\@"),

(CToken.STRUCT, r"\bstruct\b"),
(CToken.UNION, r"\bunion\b"),
--
2.52.0