Changeset 7ed1d8f for libcfa/src/parseargs.cfa
- Timestamp:
- Aug 11, 2020, 2:22:16 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:
- 7f6e9eb
- Parents:
- be36ec3 (diff), e699eb6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/parseargs.cfa
rbe36ec3 r7ed1d8f 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.