Changeset 74ec742 for libcfa/src/parseargs.cfa
- Timestamp:
- May 20, 2022, 10:36:45 AM (3 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- 25fa20a
- Parents:
- 29d8c02 (diff), 7831e8fb (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 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/parseargs.cfa
r29d8c02 r74ec742 24 24 #include "common.hfa" 25 25 #include "limits.hfa" 26 27 #pragma GCC visibility push(default) 26 28 27 29 extern int cfa_args_argc __attribute__((weak)); … … 208 210 } 209 211 212 if(strcmp(arg, "Y") == 0) { 213 value = true; 214 return true; 215 } 216 217 if(strcmp(arg, "y") == 0) { 218 value = true; 219 return true; 220 } 221 210 222 if(strcmp(arg, "no") == 0) { 223 value = false; 224 return true; 225 } 226 227 if(strcmp(arg, "N") == 0) { 228 value = false; 229 return true; 230 } 231 232 if(strcmp(arg, "n") == 0) { 211 233 value = false; 212 234 return true;
Note:
See TracChangeset
for help on using the changeset viewer.