]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.0.16
authorfred <fred>
Sun, 24 Mar 2002 20:14:38 +0000 (20:14 +0000)
committerfred <fred>
Sun, 24 Mar 2002 20:14:38 +0000 (20:14 +0000)
flower/include/virtual-methods.hh
input/test/tup.ly [new file with mode: 0644]

index 27557117e3c84fc2fe18934968ee38c6495863b7..39795ce1158a86a1f5184885ce7e01506cfa2768 100644 (file)
@@ -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 (file)
index 0000000..010e77f
--- /dev/null
@@ -0,0 +1,3 @@
+\score{
+       \notes \type Staff \times 2/3 { a b c }
+}