Skip to content

Commit

Permalink
Use proper /* */ C-style comments, not C++-style // comments which so…
Browse files Browse the repository at this point in the history
…me compilers do not handle
  • Loading branch information
petdance committed Mar 21, 2012
1 parent 9d15456 commit 34ee753
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion frontend/parrot/main.c
Expand Up @@ -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.");
Expand Down
2 changes: 1 addition & 1 deletion frontend/parrot2/main.c
Expand Up @@ -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.");
Expand Down
2 changes: 1 addition & 1 deletion src/gc/string_gc.c
Expand Up @@ -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;
Expand Down
8 changes: 4 additions & 4 deletions src/interp/inter_cb.c
Expand Up @@ -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';
Expand Down

0 comments on commit 34ee753

Please sign in to comment.