Ignore:
Timestamp:
Apr 8, 2007, 12:29:52 PM (18 years ago)
Author:
bird
Message:

Read as binary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/flex/tests/test-table-opts/scanner.l

    r3031 r3037  
    5656m4_ifdef( [[M4_YY_TABLES_EXTERNAL]],
    5757[[
    58     if((fp  = fopen(argv[1],"r"))== NULL)
     58    if((fp  = fopen(argv[1],"rb"))== NULL)
    5959        yy_fatal_error("could not open tables file for reading" M4_YY_CALL_LAST_ARG);
    6060
     
    6666   
    6767    if(argc > 2){
    68         if((fp  = fopen(argv[2],"r"))== NULL)
     68        if((fp  = fopen(argv[2],"rb"))== NULL)
    6969            yy_fatal_error("could not open input file for reading" M4_YY_CALL_LAST_ARG);
    7070        yyin = fp;
Note: See TracChangeset for help on using the changeset viewer.