CF Grammar improvements

This commit is contained in:
IlushaShurupov 2023-08-10 17:29:28 +03:00 committed by Ilya Shurupov
parent 8feeb3d1c1
commit a938bf9bb1
10 changed files with 262 additions and 20 deletions

View file

@ -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();