diff options
author | Manoj Srivastava <srivasta@debian.org> | 2018-02-08 11:16:54 -0800 |
---|---|---|
committer | Manoj Srivastava <srivasta@debian.org> | 2018-02-08 11:16:54 -0800 |
commit | 5372d368306be0259401d04dcca0172c33cf43b0 (patch) | |
tree | 5f5545eebcc6924eba866c76e6241df16764cdb4 /tests/posix.l | |
parent | 487177cbb85bc4e88e468c71b27569054b8df090 (diff) | |
parent | ab49343b08c933e32de8de78132649f9560a3727 (diff) |
Merge tag 'v2.6.4' into upstream
version 2.6.4
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
Diffstat (limited to 'tests/posix.l')
-rw-r--r-- | tests/posix.l | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/posix.l b/tests/posix.l index 38e8d3b..f1851d8 100644 --- a/tests/posix.l +++ b/tests/posix.l @@ -53,7 +53,7 @@ ab{3} tests_ok[0] = 1; return 0; %% -int main () +int main (void) { YY_BUFFER_STATE state; int i; @@ -63,9 +63,9 @@ int main () /* Run the tests */ for (i=0; i < NUM_TESTS; i++){ - printf("Testing: yy_scan_string(%s): ", tests[i]); - state = yy_scan_string(tests[i]); - yylex(); + printf("Testing: test_scan_string(%s): ", tests[i]); + state = test_scan_string(tests[i]); + testlex(); yy_delete_buffer(state); printf("... %s\n", tests_ok[i] ? "OK" : "FAILED"); } |