summaryrefslogtreecommitdiff
path: root/tests/alloc_extra.l
diff options
context:
space:
mode:
Diffstat (limited to 'tests/alloc_extra.l')
-rw-r--r--tests/alloc_extra.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/alloc_extra.l b/tests/alloc_extra.l
index ae2ae99..c974777 100644
--- a/tests/alloc_extra.l
+++ b/tests/alloc_extra.l
@@ -75,8 +75,8 @@ main (void)
testset_in(stdin, scanner);
testset_out(stdout, scanner);
- /* Test to confirm that yyalloc was called from
- * yylex_init_extra with the yyextra argument.
+ /* Test to confirm that testalloc was called from
+ * testlex_init_extra with the testextra argument.
*/
check_extra(scanner);
@@ -86,7 +86,7 @@ main (void)
return 0;
}
-void *yyalloc(size_t size, yyscan_t scanner)
+void *testalloc(size_t size, yyscan_t scanner)
{
struct Check *check;
check = testget_extra(scanner);