Lines Matching refs:scanner
28 /* The scanner itself is not important here.
38 yyscan_t scanner;
42 testlex_init(&scanner);
43 testset_in(stdin,scanner);
44 testset_out(stdout,scanner);
45 testset_extra(extra,scanner);
47 fp = testget_in(scanner);
49 fp = testget_out(scanner);
52 while(testlex(scanner)) {
55 line = testget_lineno(scanner);
56 text = testget_text(scanner);
58 if( (char*)testget_extra(scanner) != extra)
64 testlex_destroy(scanner);