CF Grammar improvements
This commit is contained in:
parent
424787c735
commit
92f34e2a99
10 changed files with 262 additions and 20 deletions
|
|
@ -337,6 +337,7 @@ void CommandLine::parseArg(Arg& arg, const char* src) {
|
|||
auto tok = mTokenizer.readTok();
|
||||
if (tok < TokType::INT || tok > TokType::STR) {
|
||||
ErrInvalidArgSyntax(&arg);
|
||||
return;
|
||||
}
|
||||
|
||||
auto val = mTokenizer.extractVal();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue