History

docs: kdoc: remove the INLINE_END state

It is never used, so just get rid of it.

Jonathan Corbet committed 1 year ago

Commit 388f4da1 parent d06c54f1 file · +1 −3Browse files

Unified · Split

scripts/lib/kdoc/kdoc_parser.py+1−3
@@ -108,8 +108,7 @@ class state: · 107 unmodified lines
108108 INLINE_NA = 0 # not applicable ($state != INLINE)
109109 INLINE_NAME = 1 # looking for member name (@foo:)
110110 INLINE_TEXT = 2 # looking for member documentation
111− INLINE_END = 3 # done
112− INLINE_ERROR = 4 # error - Comment without header was found.
111+ INLINE_ERROR = 3 # error - Comment without header was found.
113112 # Spit a warning as it's not
114113 # proper kernel-doc and ignore the rest.
115114
@@ -117,7 +116,6 @@ class state: · 1 unmodified line
117116 "",
118117 "_NAME",
119118 "_TEXT",
120− "_END",
121119 "_ERROR",
122120 ]
123121

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t