that's the way enums are named in lyx :)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4207
a592a061-630c-0410-9148-
cb99ea01b6c8
+2002-05-25 John Levon <moz@compsoc.man.ac.uk>
+
+ * Code_rules/Rules: mention enums should be lower-case
+
2002-05-23 Kayvan A. Sylvan <kayvan@satyr.sylvan.com>
* lyx.spec.in: Remove --with-included-string for 1.3.0cvs and
2002-05-23 Kayvan A. Sylvan <kayvan@satyr.sylvan.com>
* lyx.spec.in: Remove --with-included-string for 1.3.0cvs and
};
-NOT-
enum { one = 1, two = 2, three 3 }; // wrong
};
-NOT-
enum { one = 1, two = 2, three 3 }; // wrong
+ -NOT-
+ enum {
+ ONE = 1,
+ TWO = 2,
+ THREE = 3
+ };
+
* Naming rules for classes
- Use descriptive but simple and short names. For stuff specific to LyX
* Naming rules for classes
- Use descriptive but simple and short names. For stuff specific to LyX