From: fred Date: Sun, 24 Mar 2002 20:14:38 +0000 (+0000) Subject: lilypond-1.0.16 X-Git-Tag: release/1.5.59~2943 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=becda41d22dd92d579347231f73008ae02127943;p=lilypond.git lilypond-1.0.16 --- diff --git a/flower/include/virtual-methods.hh b/flower/include/virtual-methods.hh index 27557117e3..39795ce115 100644 --- a/flower/include/virtual-methods.hh +++ b/flower/include/virtual-methods.hh @@ -35,29 +35,31 @@ static char const *static_name() int yet_another_stupid_function_to_allow_semicolon() -#define DECLARE_VIRTUAL_COPY_CONS(T,R)\ +#define DECLARE_VIRTUAL_COPY_CONS(T, R)\ virtual R *clone() const -#define IMPLEMENT_VIRTUAL_COPY_CONS(T,R)\ - R *T::clone() const { return new T(*this); } \ +#define IMPLEMENT_VIRTUAL_COPY_CONS(T, R)\ + R *T::clone() const { return new T(*this); }\ + -#define IMPLEMENT_IS_TYPE_B(D) \ - IMPLEMENT_STATIC_NAME(D)\ - bool D::static_is_type_b (const char *s) \ -{ \ - return s == static_name(); \ -} - -#define IMPLEMENT_IS_TYPE_B1(D,B) \ - IMPLEMENT_STATIC_NAME(D)\ - bool D::static_is_type_b (const char *s) \ -{ \ - return s == static_name() || B::static_is_type_b (s); \ -} -#define IMPLEMENT_IS_TYPE_B2(D, BA, BB) \ - IMPLEMENT_STATIC_NAME(D)\ - bool D::static_is_type_b (const char *s) \ -{ \ - return s == static_name() || BA::static_is_type_b (s) || BB::static_is_type_b (s); \ +#define IMPLEMENT_IS_TYPE_B(D)\ + IMPLEMENT_STATIC_NAME(D)\ + bool D::static_is_type_b (const char *s)\ +{\ + return s == static_name();\ +} + +#define IMPLEMENT_IS_TYPE_B1(D, B)\ + IMPLEMENT_STATIC_NAME(D)\ + bool D::static_is_type_b (const char *s)\ +{\ + return s == static_name() || B::static_is_type_b (s);\ +} + +#define IMPLEMENT_IS_TYPE_B2(D, BA, BB)\ + IMPLEMENT_STATIC_NAME(D)\ + bool D::static_is_type_b (const char *s)\ +{\ + return s == static_name() || BA::static_is_type_b (s) || BB::static_is_type_b (s);\ } #endif diff --git a/input/test/tup.ly b/input/test/tup.ly new file mode 100644 index 0000000000..010e77ffe8 --- /dev/null +++ b/input/test/tup.ly @@ -0,0 +1,3 @@ +\score{ + \notes \type Staff \times 2/3 { a b c } +}