summaryrefslogtreecommitdiff
path: root/tests/lineno_r.l
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lineno_r.l')
-rw-r--r--tests/lineno_r.l10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/lineno_r.l b/tests/lineno_r.l
index afd4874..d7230d7 100644
--- a/tests/lineno_r.l
+++ b/tests/lineno_r.l
@@ -87,11 +87,11 @@ main (int argc, char **argv)
else{
yyscan_t s;
- yylex_init(&s);
- yyset_in(stdin,s);
- yyset_out(stdout,s);
- yylex(s);
- yylex_destroy(s);
+ testlex_init(&s);
+ testset_in(stdin,s);
+ testset_out(stdout,s);
+ testlex(s);
+ testlex_destroy(s);
}
return 0;
}