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
108 INLINE_NA = 0 # not applicable ($state != INLINE)108 INLINE_NA = 0 # not applicable ($state != INLINE)
109 INLINE_NAME = 1 # looking for member name (@foo:)109 INLINE_NAME = 1 # looking for member name (@foo:)
110 INLINE_TEXT = 2 # looking for member documentation110 INLINE_TEXT = 2 # looking for member documentation
111 INLINE_END = 3 # done111 INLINE_ERROR = 3 # error - Comment without header was found.
112 INLINE_ERROR = 4 # error - Comment without header was found.
113 # Spit a warning as it's not112 # Spit a warning as it's not
114 # proper kernel-doc and ignore the rest.113 # proper kernel-doc and ignore the rest.
115 114
@@ -117,7 +116,6 @@ class state: · 1 unmodified line
117 "",116 "",
118 "_NAME",117 "_NAME",
119 "_TEXT",118 "_TEXT",
120 "_END",
121 "_ERROR",119 "_ERROR",
122 ]120 ]
123 121

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