[svn:parrot] r47612 - in branches/gsoc_nfg/src/string: . encoding

jkeenan at svn.parrot.org jkeenan at svn.parrot.org
Sun Jun 13 23:43:30 UTC 2010


Author: jkeenan
Date: Sun Jun 13 23:43:30 2010
New Revision: 47612
URL: https://trac.parrot.org/parrot/changeset/47612

Log:
[codingstd] No C++-style comments.

Modified:
   branches/gsoc_nfg/src/string/api.c
   branches/gsoc_nfg/src/string/encoding/nfg.c

Modified: branches/gsoc_nfg/src/string/api.c
==============================================================================
--- branches/gsoc_nfg/src/string/api.c	Sun Jun 13 23:34:22 2010	(r47611)
+++ branches/gsoc_nfg/src/string/api.c	Sun Jun 13 23:43:30 2010	(r47612)
@@ -3290,7 +3290,7 @@
         mem_sys_memcopy(pos, next->strstart, next->bufused);
         pos += next->bufused;
 
-        // TODO: Merge grapheme tables as we go. If it's needed.
+        /* TODO: Merge grapheme tables as we go. If it's needed. */
 
         /* We can consume all buffer and pos will be next-after-end of buffer */
         PARROT_ASSERT(pos <= res->strstart + Buffer_buflen(res) + 1);

Modified: branches/gsoc_nfg/src/string/encoding/nfg.c
==============================================================================
--- branches/gsoc_nfg/src/string/encoding/nfg.c	Sun Jun 13 23:34:22 2010	(r47611)
+++ branches/gsoc_nfg/src/string/encoding/nfg.c	Sun Jun 13 23:43:30 2010	(r47612)
@@ -196,7 +196,7 @@
 {
     ASSERT_ARGS(nfg_encode)
     UChar32 *buf  = (UChar32 *) (dest->strstart);
-    UINTVAL  hash = 0xffff; // TODO: put a real seed here.
+    UINTVAL  hash = 0xffff; /* TODO: put a real seed here. */
     UINTVAL  aux;
 
     while (offs < len) {
@@ -507,7 +507,7 @@
     s[pos++] = (UChar32) c;
     ++i->charpos;
     i->bytepos = pos * sizeof (UChar32);
-    // TODO: properly compose stuff here.
+    /* TODO: properly compose stuff here. */
 #else
     UNUSED(i);
     no_ICU_lib(interp);


More information about the parrot-commits mailing list