Author: paultcochrane Date: Sat Dec 1 05:41:23 2007 New Revision: 23305 Modified: trunk/compilers/pirc/pirc.c
Log: [pirc] - corrected spacing around commas - corrected spacing around parentheses - added function documentation Modified: trunk/compilers/pirc/pirc.c ============================================================================== --- trunk/compilers/pirc/pirc.c (original) +++ trunk/compilers/pirc/pirc.c Sat Dec 1 05:41:23 2007 @@ -7,14 +7,43 @@ #include <stdlib.h> #include <string.h> +/* + +=head1 NAME + +compilers/pirc/pirc.c + +=head1 DESCRIPTION + +TODO: Not yet documented!!! + +=head2 Functions + +=over 4 + +=cut + +*/ + typedef enum arg_flags { FLAG_PREPROCESS = 0x01, FLAG_ONLY_HEREDOC = 0x02, } arg_flag; -#define SET_FLAG(obj,flag) obj |= flag -#define TEST_FLAG(obj,flag) obj & flag +#define SET_FLAG(obj, flag) obj |= flag +#define TEST_FLAG(obj, flag) obj & flag + +/* + +=item C<static void +print_help(void)> + +Prints help message and usage information + +=cut + +*/ static void print_help(void) { @@ -25,7 +54,7 @@ " -E pre-process only, do not parse\n" " -H only heredoc processing\n" /*" -o <file> write output to the specified file\n" */ - ); + ""); } /* @@ -110,6 +139,14 @@ return 0; } +/* + +=back + +=cut + +*/ + /* * Local variables: