Skip to content
Browse files

Split handling of command line args into 2 parts.

- C<parseargs> contains general handling
- C<imcc_handle_flag> contains IMCC specific handling

This will give us ability to easily replace IMCC with PIRC.

Work isn't finished yet because we still have longopt_opt_decl with all
options, but it's good start.

git-svn-id: https://svn.parrot.org/parrot/trunk@43854 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent ca43d9c commit 863cd601375682ae3eb6b4a0ea8ba131f3906a81 @bacek bacek committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/main.c
View
8 src/main.c
@@ -47,6 +47,8 @@ extern int yypirdebug = 0;
void * process_file(void *a);
+/* HEADERIZER HFILE: none */
+
/*
=head1 FUNCTIONS
@@ -54,8 +56,7 @@ void * process_file(void *a);
=over 4
-=item C<static void
-print_help(char const * const program_name)>
+=item C<static void print_help(char const * const program_name)>
Routine to print usage of this program.
@@ -137,8 +138,7 @@ process_file(void *a) {
/*
-=item C<static void
-runcode(PARROT_INTERP, int argc, char *argv[])>
+=item C<static void runcode(PARROT_INTERP, int argc, char *argv[])>
This function runs the code in the interpreter's (in C<PARROT_INTERP>)
code segment.

0 comments on commit 863cd60

Please sign in to comment.
Something went wrong with that request. Please try again.