libc/newlib/doc
Jon Turney 1129ef019f makedoc: Don't interpret license text as a command
Align makedoc's iscommand() with it's documentation, and don't allow commands to
contain a space.  A command is a line containing only a sequence of capital
letters or '_', followed by optional spaces.

This prevents "IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE" (the only line in the license text which consists of only
capitals and spaces, without any punctuation) from being interepreted as a
makedoc command, leading to:

"Can't find IMPLIED"
"warning, IMPLIED is not recognised"

being emitted by makedoc, (which is normally un-noticed because makedoc's stderr
is redirected to a .ref file)

2015-11-06  Jon Turney  <jon.turney@dronecode.org.uk>

	* doc/makedoc.c (iscommand): Only allow commands to have trailing
	spaces, not space separated words.

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
2015-11-12 12:42:19 +00:00
..
Makefile.am * doc/Makefile.am (makedoc): Use LDFLAGS_FOR_BUILD not LDFLAGS. 2012-06-28 08:26:00 +00:00
Makefile.in 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
aclocal.m4 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
ansidecl.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
configure 2014-12-18 Jeff Johnston <jjohnstn@redhat.com> 2014-12-18 20:30:11 +00:00
configure.in 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org> 2006-04-13 19:56:32 +00:00
doc.str makedoc: Fix INTERNAL(|DEFINITION|FUNCTION) command definitions 2015-11-12 12:42:15 +00:00
makedoc.c makedoc: Don't interpret license text as a command 2015-11-12 12:42:19 +00:00