]> git.lyx.org Git - features.git/commitdiff
Now nobody has the excuse of looking at existing code and assuming
authorJohn Levon <levon@movementarian.org>
Sat, 25 May 2002 14:50:52 +0000 (14:50 +0000)
committerJohn Levon <levon@movementarian.org>
Sat, 25 May 2002 14:50:52 +0000 (14:50 +0000)
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

development/ChangeLog
development/Code_rules/Rules

index a77738b9d822c49292254b8bba311f2962e9fe41..168e8d9e0ede56485ce4a51d839232018dc162e2 100644 (file)
@@ -1,3 +1,7 @@
+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
index a7f2f2c5256bae11a9ec07e608dd8741ce444208..f549dde8a12856342975db46f219c1400e3906bb 100644 (file)
@@ -269,7 +269,13 @@ Formatting
        };
        -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