docproc: abstract terminating lines at first space
authorJani Nikula <jani.nikula@intel.com>
Thu, 12 May 2016 13:15:42 +0000 (16:15 +0300)
committerJonathan Corbet <corbet@lwn.net>
Sat, 14 May 2016 15:56:49 +0000 (09:56 -0600)
commit1dcdad0aacb6d762b77f3e17167d131a14c0dbce
tree5e3fc4921d48f1c6b9059a67a86de01ad39f6ffc
parenta48dc45e9c02ebaebc79de5b3fec8e4f59a9fe9f
docproc: abstract terminating lines at first space

Cleaner code. Also fixes a bug when F or P directives didn't in fact
have space.

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