X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fcontext-property.cc;h=6e22b2f808211b28aaa7acedad6afba52f9829f6;hb=97a0169312a260933246ab224e4f8b0969871dd5;hp=534fced49aacc813db06a76a0d63c4768516fc14;hpb=57120404e1b09f6923f5f5d8f4f17a21cec4f873;p=lilypond.git diff --git a/lily/context-property.cc b/lily/context-property.cc index 534fced49a..6e22b2f808 100644 --- a/lily/context-property.cc +++ b/lily/context-property.cc @@ -39,10 +39,11 @@ general_pushpop_property (Context *context, SCM grob_property_path, SCM new_value) { + // Numbers may appear, but not in first place if (!scm_is_symbol (context_property) || !scm_is_symbol (scm_car (grob_property_path))) { - warning (_ ("need symbol arguments for \\override and \\revert")); + warning (_ ("need symbol argument for \\override and \\revert")); if (do_internal_type_checking_global) assert (false); } @@ -65,7 +66,7 @@ class Grob_properties : public Simple_smob { public: SCM mark_smob () const; - static const char type_p_name_[]; + static const char * const type_p_name_; private: friend class Grob_property_info; friend SCM ly_make_grob_properties (SCM); @@ -96,7 +97,7 @@ private: cooked_ (alist), cooked_from_ (alist), nested_ (0) { } }; -const char Grob_properties::type_p_name_[] = "ly:grob-properties?"; +const char * const Grob_properties::type_p_name_ = "ly:grob-properties?"; SCM Grob_properties::mark_smob () const