summaryrefslogtreecommitdiff
path: root/tests/basic_r.l
diff options
context:
space:
mode:
authorManoj Srivastava <srivasta@debian.org>2018-02-08 13:02:55 -0800
committerManoj Srivastava <srivasta@debian.org>2018-02-08 13:02:55 -0800
commit8852aa3f8eefeee4da27de0553b1653253b15619 (patch)
tree7e6b583ae61340aed4c30303b29d25944273b188 /tests/basic_r.l
parent355fad18841ec452fc9931ab7f1dbd93d5ebd0ca (diff)
parent7a39ce3d46f3d049ead08a455c5fcb1b37e153e3 (diff)
Merge branch 'upstream'
Update to v2.6.4 Signed-off-by: Manoj Srivastava <srivasta@debian.org>
Diffstat (limited to 'tests/basic_r.l')
-rw-r--r--tests/basic_r.l12
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;
}