- Timestamp:
- Aug 11, 2020, 1:47:19 PM (4 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:
- 42f1d739, 7ed1d8f
- Parents:
- e857743
- Location:
- libcfa/src
- Files:
-
- 1 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/Makefile.am
re857743 re699eb6 44 44 45 45 headers = common.hfa fstream.hfa heap.hfa iostream.hfa iterator.hfa limits.hfa rational.hfa \ 46 time.hfa stdlib.hfa memory.hfa \46 time.hfa stdlib.hfa memory.hfa parseargs.hfa \ 47 47 containers/maybe.hfa containers/pair.hfa containers/result.hfa containers/vector.hfa 48 48 -
libcfa/src/parseargs.cfa
re857743 re699eb6 1 1 #include "parseargs.hfa" 2 2 3 // #include <stdio.h>4 // #include <stdlib.h>3 #include <stdint.h> 4 #include <string.h> 5 5 #include <errno.h> 6 #include <string.h>7 6 #include <unistd.h> 8 7 extern "C" { … … 22 21 } 23 22 24 #include <common.hfa>25 #include <limits.hfa>23 #include "common.hfa" 24 #include "limits.hfa" 26 25 27 26 void printopt(FILE * out, int width, int max, char sn, const char * ln, const char * help) { … … 67 66 } 68 67 } 69 optarr[idx+0].[name, has_arg, flag, val] = ["help", no_argument, 0 p, 'h'];70 optarr[idx+1].[name, has_arg, flag, val] = [0 p, no_argument, 0p, 0];68 optarr[idx+0].[name, has_arg, flag, val] = ["help", no_argument, 0, 'h']; 69 optarr[idx+1].[name, has_arg, flag, val] = [0, no_argument, 0, 0]; 71 70 } 72 71
Note: See TracChangeset
for help on using the changeset viewer.