Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

codeingstd: don't use C++ comments, benabik--

  • Loading branch information...
commit 15dd3bf7e28b845378684eed6ebb5624c15abe3d 1 parent 18f3b94
@Benabik Benabik authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 frontend/parrot2/main.c
View
8 frontend/parrot2/main.c
@@ -554,8 +554,10 @@ parseflags(Parrot_PMC interp, int argc, ARGIN(const char *argv[]),
int nargs = 0;
int i;
- // Any option with an argument we handle may split an argument
- // into two. So be pessimistic with the allocation.
+ /*
+ * Any option with an argument we handle may split an argument
+ * into two. So be pessimistic with the allocation.
+ */
int pargs_size = argc * 2;
const char **pargs = (const char**)calloc(pargs_size, sizeof (char*));
@@ -687,7 +689,7 @@ parseflags(Parrot_PMC interp, int argc, ARGIN(const char *argv[]),
for (i = opt.opt_index; i < argc; i++)
pargs[nargs++] = argv[i];
- // Make sure we don't overrun the end of the array
+ /* Make sure we don't overrun the end of the array */
PARROT_ASSERT(nargs <= pargs_size);
args->argv = pargs;
Please sign in to comment.
Something went wrong with that request. Please try again.