Changeset 7874d77 for libcfa/src
- Timestamp:
- Aug 11, 2020, 5:33:21 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- cd9ee44
- Parents:
- 8e516fd
- Location:
- libcfa/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/parseargs.cfa
r8e516fd r7874d77 24 24 #include "limits.hfa" 25 25 26 extern int cfa_args_argc; 27 extern char ** cfa_args_argv; 28 extern char ** cfa_args_envp; 29 26 30 void printopt(FILE * out, int width, int max, char sn, const char * ln, const char * help) { 27 31 int hwidth = max - (11 + width); … … 34 38 fprintf(out, "%*s%.*s\n", width + 11, "", hwidth, help); 35 39 } 40 } 41 42 void parse_args( cfa_option options[], size_t opt_count, const char * usage, char ** & left ) { 43 parse_args(cfa_args_argc, cfa_args_argv, options, opt_count, usage, left ); 36 44 } 37 45 -
libcfa/src/parseargs.hfa
r8e516fd r7874d77 31 31 } 32 32 33 void parse_args( cfa_option options[], size_t opt_count, const char * usage, char ** & left ); 33 34 void parse_args( int argc, char * argv[], cfa_option options[], size_t opt_count, const char * usage, char ** & left ); 34 35
Note:
See TracChangeset
for help on using the changeset viewer.