6 #include "token/getoken.c"
9 extern int load_token_def_cfg_file (char *token_def_file
);
12 int main (int argc
, char *argv
[])
21 printf("argc = %d\n", argc
);
22 printf("argc[0] = %s\n", argv
[0]);
23 printf("argc[1] = %s\n", argv
[1]);
24 printf("argc[2] = %s\n", argv
[2]);
25 if (argc
> 1 && argv
[1] && argv
[1][0] != 0)
27 retval
= load_token_def_cfg_file(argv
[1]);
28 printf("retval = %d\n", retval
);
31 load_token_def_cfg_file(NULL
);
33 printf("xxxxxxxxxx\n");
37 retval
= yylex_proc();
38 if (retval
== 0) return retval
;
39 //if (retval == -1) continue;