diff options
Diffstat (limited to 'tests/basic_r.l')
-rw-r--r-- | tests/basic_r.l | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/basic_r.l b/tests/basic_r.l index ba5734c..43d3a88 100644 --- a/tests/basic_r.l +++ b/tests/basic_r.l @@ -55,13 +55,13 @@ int main(void); 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; } |