# New Ticket Created by  "Paul Cochrane" 
# Please include the string:  [perl #40377]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40377 >


Hi,

This patch adds the C emacs/vim coda to the C-language files under
parrot/examples, and partially addresses bug #40279     [CAGE] C coding
standards coda.

Regards,

Paul

Files affected by this patch:

examples/c/test_main.c
examples/compilers/japhc.c
examples/nci/PQt.C
examples/mops/mops.c
Index: examples/c/test_main.c
===================================================================
--- examples/c/test_main.c	(revision 14669)
+++ examples/c/test_main.c	(working copy)
@@ -290,11 +290,7 @@
 
 /*
  * Local variables:
- * c-indentation-style: bsd
- * c-basic-offset: 4
- * indent-tabs-mode: nil
+ *   c-file-style: "parrot"
  * End:
- *
  * vim: expandtab shiftwidth=4:
-*/
-
+ */
Index: examples/compilers/japhc.c
===================================================================
--- examples/compilers/japhc.c	(revision 14669)
+++ examples/compilers/japhc.c	(working copy)
@@ -183,3 +183,10 @@
     sub_data->name = string_from_cstring(interpreter, "JaPHC", 0);
     return sub;
 }
+
+/*
+ * Local variables:
+ *   c-file-style: "parrot"
+ * End:
+ * vim: expandtab shiftwidth=4:
+ */
Index: examples/nci/PQt.C
===================================================================
--- examples/nci/PQt.C	(revision 14669)
+++ examples/nci/PQt.C	(working copy)
@@ -140,3 +140,10 @@
 =cut
 
 */
+
+/*
+ * Local variables:
+ *   c-file-style: "parrot"
+ * End:
+ * vim: expandtab shiftwidth=4:
+ */
Index: examples/mops/mops.c
===================================================================
--- examples/mops/mops.c	(revision 14669)
+++ examples/mops/mops.c	(working copy)
@@ -116,10 +116,7 @@
 
 /*
  * Local variables:
- * c-indentation-style: bsd
- * c-basic-offset: 4
- * indent-tabs-mode: nil
+ *   c-file-style: "parrot"
  * End:
- *
  * vim: expandtab shiftwidth=4:
  */

Reply via email to