diff options
author | wlestes <wlestes> | 2012-03-02 22:15:29 +0000 |
---|---|---|
committer | wlestes <wlestes> | 2012-03-02 22:15:29 +0000 |
commit | df1c6ae8b12f4d5cf6ad7135faae8152da22e7f0 (patch) | |
tree | 6f9a0a722566a19eb3064e2fe080ce4d46ca1887 /tests/test-table-opts/scanner.l | |
parent | 984672c2af19a6da229c715a4ba1746af141d86a (diff) | |
download | flex-df1c6ae8b12f4d5cf6ad7135faae8152da22e7f0.tar.gz |
wrap yy_fatal_error calls appropriately
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) |