Changeset 772b300


Ignore:
Timestamp:
Dec 28, 2020, 3:49:56 PM (9 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
b6460bf, bf1914e
Parents:
06573b2
Message:

Parse args now supports -oValue, -o=Value and -o Value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/parseargs.cfa

    r06573b2 r772b300  
    105105                                        if(opt == options[i].short_name) {
    106106                                                const char * arg = optarg ? optarg : "";
     107                                                if( arg[0] == '=' ) { arg++; }
    107108                                                bool success = options[i].parse( arg, options[i].variable );
    108109                                                if(success) continue NEXT_ARG;
Note: See TracChangeset for help on using the changeset viewer.