summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDemi Obenour <demiobenour@gmail.com>2016-11-09 11:38:32 -0500
committerWill Estes <westes575@gmail.com>2016-11-12 12:00:12 -0500
commit347652c32b4614995acd4ee0d686499da2070d9e (patch)
tree338863095053a9a9aae2f96a2815436c56a37b5b /tests
parentd374b87e68229702c572b3a4a95338ae0e178bc9 (diff)
fix backwards incompatible changes in 2.6.2.
This patch addscompatibility `#defines` for all macros affected by `%prefix`. Fixes #113.
Diffstat (limited to 'tests')
-rw-r--r--tests/array_r.l10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/array_r.l b/tests/array_r.l
index e038f7c..68a6299 100644
--- a/tests/array_r.l
+++ b/tests/array_r.l
@@ -49,13 +49,13 @@ main (void)
{
yyscan_t lexer;
- testlex_init(&lexer);
- testset_in(stdin, lexer);
- testset_out(stdout, lexer);
+ yylex_init(&lexer);
+ yyset_in(stdin, lexer);
+ yyset_out(stdout, lexer);
- testlex( lexer );
+ yylex( lexer );
- testlex_destroy( lexer);
+ yylex_destroy( lexer);
printf("TEST RETURNING OK.\n");
return 0;