Changeset b7664a0 for libcfa/src/parseargs.cfa
- Timestamp:
- Jan 15, 2021, 2:30:03 PM (2 years ago)
- Branches:
- arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 1dbc3e10, d46bdac
- Parents:
- 8c43d05
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/parseargs.cfa
r8c43d05 rb7664a0 39 39 if( options[i].short_name != '\0' 40 40 && options[i].short_name == options[j].short_name) 41 abort("Parse Args error: two options have short name '%c' (% d & %d)", options[i].short_name, i, j);42 43 if(0 == strcmp(options[i].long_name, options[j].long_name)) abort("Parse Args error: two options have long name '%s' (% d & %d)", options[i].long_name, i, j);41 abort("Parse Args error: two options have short name '%c' (%zu & %zu)", options[i].short_name, i, j); 42 43 if(0 == strcmp(options[i].long_name, options[j].long_name)) abort("Parse Args error: two options have long name '%s' (%zu & %zu)", options[i].long_name, i, j); 44 44 } 45 45 }
Note: See TracChangeset
for help on using the changeset viewer.