| 16:f597c8f0bcc9 | 17:a034888a2227 |
|---|---|
| 16 Tokenizer*tokz; | 16 Tokenizer*tokz; |
| 17 Token tok=TOK_INIT; | 17 Token tok=TOK_INIT; |
| 18 | 18 |
| 19 libtu_init(argv[0]); | 19 libtu_init(argv[0]); |
| 20 | 20 |
| 21 if(!(tokz=tokz_open_file(stdin))) | 21 if(!(tokz=tokz_open_file(stdin, "stdin"))) |
| 22 return EXIT_FAILURE; | 22 return EXIT_FAILURE; |
| 23 | 23 |
| 24 while(tokz_get_token(tokz, &tok)){ | 24 while(tokz_get_token(tokz, &tok)){ |
| 25 switch(tok.type){ | 25 switch(tok.type){ |
| 26 case TOK_LONG: | 26 case TOK_LONG: |