diff options
Diffstat (limited to 'tests/basic_r.l')
-rw-r--r-- | tests/basic_r.l | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/basic_r.l b/tests/basic_r.l index e9ff59f..43d3a88 100644 --- a/tests/basic_r.l +++ b/tests/basic_r.l @@ -52,16 +52,16 @@ WS [[:blank:]] int main(void); -int main () +int main (void) { yyscan_t lexer; - yylex_init( &lexer ); - yyset_out ( stdout,lexer); - yyset_in ( stdin, lexer); - while( yylex(lexer) ) + testlex_init( &lexer ); + testset_out ( stdout,lexer); + testset_in ( stdin, lexer); + while( testlex(lexer) ) { } - yylex_destroy( lexer ); + testlex_destroy( lexer ); printf("TEST RETURNING OK.\n"); return 0; } |