]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.27
authorfred <fred>
Sun, 24 Mar 2002 19:29:15 +0000 (19:29 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:29:15 +0000 (19:29 +0000)
src/lyricitem.cc

index b0afc3000b6e4d4770e2bb2f79ecd2b588bbcbfe..81b61552c54f65a2bed8756043fb302e45d3bdc0 100644 (file)
@@ -5,6 +5,10 @@
 #include "molecule.hh"
 #include "lookup.hh"
 #include "textdef.hh"
+#include "sourcefile.hh"
+#include "source.hh"
+#include "debug.hh"
+#include "main.hh"
 
 Lyric_item::Lyric_item(Lyric_req* lreq_l, int voice_count_i)
     : Text_item(lreq_l,0)
@@ -17,4 +21,8 @@ void
 Lyric_item::do_pre_processing()
 {
     // override Text_item
+
+    // test context-error
+    if ( tdef_l_->text_str_.pos( "Gates" ) )// :-)
+       warning( "foul word", tdef_l_->defined_ch_c_l_m );
 }