Permalink
Browse files

Use proper /* */ C-style comments, not C++-style // comments which so…

…me compilers do not handle
  • Loading branch information...
1 parent 9d15456 commit 34ee7539e93c880833501b5e89918ed0b4746c90 @petdance petdance committed Mar 21, 2012
Showing with 7 additions and 7 deletions.
  1. +1 −1 frontend/parrot/main.c
  2. +1 −1 frontend/parrot2/main.c
  3. +1 −1 src/gc/string_gc.c
  4. +4 −4 src/interp/inter_cb.c
View
@@ -833,7 +833,7 @@ parseflags(Parrot_PMC interp, int argc, ARGIN(const char *argv[]),
case OPT_GC_DEBUG:
/*
#if DISABLE_GC_DEBUG
- // Parrot_warn(interp, PARROT_WARNINGS_ALL_FLAG,
+ /* Parrot_warn(interp, PARROT_WARNINGS_ALL_FLAG, */
Parrot_warn(interp, 0xFFFF,
"PARROT_GC_DEBUG is set but the binary was compiled "
"with DISABLE_GC_DEBUG.");
View
@@ -637,7 +637,7 @@ parseflags(Parrot_PMC interp, int argc, ARGIN(const char *argv[]),
case OPT_GC_DEBUG:
/*
#if DISABLE_GC_DEBUG
- // Parrot_warn(interp, PARROT_WARNINGS_ALL_FLAG,
+ /* Parrot_warn(interp, PARROT_WARNINGS_ALL_FLAG, */
Parrot_warn(interp, 0xFFFF,
"PARROT_GC_DEBUG is set but the binary was compiled "
"with DISABLE_GC_DEBUG.");
View
@@ -674,7 +674,7 @@ aligned_mem(ARGIN(SHIM(const Parrot_Buffer *buffer)), ARGIN(char *mem))
{
ASSERT_ARGS(aligned_mem)
mem += sizeof (void *);
- // FIXME: issue #378
+ /* FIXME: issue #378 */
mem = (char *)(((UINTVAL)(mem + WORD_ALIGN_1)) & WORD_ALIGN_MASK);
return mem;
View
@@ -314,19 +314,19 @@ Parrot_run_callback(PARROT_INTERP,
pasm_sig[1] = 'v';
break;
case 'l':
- // FIXME: issue #742
+ /* FIXME: issue #742 */
i_param = (INTVAL)(long)(INTVAL) external_data;
goto case_I;
case 'i':
- // FIXME: issue #742
+ /* FIXME: issue #742 */
i_param = (INTVAL)(int)(INTVAL) external_data;
goto case_I;
case 's':
- // FIXME: issue #742
+ /* FIXME: issue #742 */
i_param = (INTVAL)(short)(INTVAL) external_data;
goto case_I;
case 'c':
- // FIXME: issue #742
+ /* FIXME: issue #742 */
i_param = (INTVAL)(char)(INTVAL) external_data;
case_I:
pasm_sig[1] = 'I';

0 comments on commit 34ee753

Please sign in to comment.