On 23 July 2011 23:05,  <[email protected]> wrote:
> Can you give me an idea what his does and how to test this or what I am
> going to see as someone who runs a lot of make/reg tests?

If somebody forgets to document a new property (in
scm/define-grob-properties.scm or scm/define-context-properties.scm)
this will ensure the internals documentation generation aborts with a
useful error message.  If you want to test it, apply Mike's patch then
try the following bad patch.  It adds an undocumented grob property
called `foo' to the accidental-interface.

Cheers,
Neil
diff --git a/lily/accidental.cc b/lily/accidental.cc
index bee99c6..3ad2ecf 100644
--- a/lily/accidental.cc
+++ b/lily/accidental.cc
@@ -230,6 +230,7 @@ ADD_INTERFACE (Accidental_interface,
 	       /* properties */
 	       "alteration "
 	       "avoid-slur "
+               "foo "
 	       "forced "
 	       "glyph-name-alist "
 	       "hide-tied-accidental-after-break "
_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to