OSDN Git Service

docs: kernel-doc: Rename and split STATE_FIELD
authorJonathan Corbet <corbet@lwn.net>
Mon, 5 Feb 2018 20:56:45 +0000 (13:56 -0700)
committerJonathan Corbet <corbet@lwn.net>
Thu, 15 Feb 2018 20:11:22 +0000 (13:11 -0700)
commit17b787171e693778eb9246978ad6116e52fa692c
treed1a46277ea20b2f309d824c63c693788a50e81a6
parent0bba924ce99aadf8dcd316b8bf8b98902925ea8a
docs: kernel-doc: Rename and split STATE_FIELD

STATE_FIELD describes a parser state that can handle any part of a
kerneldoc comment body; rename it to STATE_BODY to reflect that.

The $in_purpose variable was a hidden substate of STATE_FIELD; get rid of
it and make a proper state (STATE_BODY_MAYBE) instead.  This will make the
subsequent process_file() splitup easier.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/kernel-doc