diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-01-16 11:41:16 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-01-16 11:41:16 +0000 |
commit | b3cac737802959c96ff35fb1b8a6a54e4a5f4812 (patch) | |
tree | 1be8e67d9d3d0064c8dd0b5132d06c3a1b168b40 /tests/test-table-opts/scanner.l | |
parent | 6b3c38ce0f98e7fa0476621ac64e8602655fdadf (diff) | |
download | flex-b3cac737802959c96ff35fb1b8a6a54e4a5f4812.tar.gz |
Commit files from flex 2.5.37 tarball
Flex has a circular dependency on itself when build from git.
Diffstat (limited to 'tests/test-table-opts/scanner.l')
-rw-r--r-- | tests/test-table-opts/scanner.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-table-opts/scanner.l b/tests/test-table-opts/scanner.l index a9a87c6..3ad6199 100644 --- a/tests/test-table-opts/scanner.l +++ b/tests/test-table-opts/scanner.l @@ -54,17 +54,17 @@ int main ( int argc, char** argv ) #ifdef TEST_HAS_TABLES_EXTERNAL if((fp = fopen(argv[1],"r"))== NULL) - yy_fatal_error("could not open tables file for reading" M4_YY_CALL_LAST_ARG); + YY_FATAL_ERROR("could not open tables file for reading"); if(yytables_fload(fp M4_YY_CALL_LAST_ARG) < 0) - yy_fatal_error("yytables_fload returned < 0" M4_YY_CALL_LAST_ARG); + YY_FATAL_ERROR("yytables_fload returned < 0"); if(M4_YY_TABLES_VERIFY) exit(0); #endif if(argc > 2){ if((fp = fopen(argv[2],"r"))== NULL) - yy_fatal_error("could not open input file for reading" M4_YY_CALL_LAST_ARG); + YY_FATAL_ERROR("could not open input file for reading"); yyin = fp; } while(yylex(M4_YY_CALL_ONLY_ARG) != 0) |