- ret = yylex_init(&yyscanner);
- assert(ret == 0);
- subcommand = subcmd;
- yy_push_state(subcmd? INITIAL : SC_SCANNING, yyscanner);
- yybs = yy_scan_bytes(buf, nbytes, yyscanner);
- if (!yybs)
- return -E_LLS_YY_SCAN;
- rargc = 1;
- rargv = malloc((rargc + 1) * sizeof(char *));
- if (!rargv)