Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/gas/itbl-ops.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    9393#include <string.h>
    9494#include "itbl-ops.h"
    95 #include "itbl-parse.h"
     95#include <itbl-parse.h>
    9696
    9797/* #define DEBUG */
     
    184184  extern FILE *yyin;
    185185  extern int yyparse (void);
    186   yyin = fopen (insntbl, "r");
     186
     187  yyin = fopen (insntbl, FOPEN_RT);
    187188  if (yyin == 0)
    188189    {
     
    191192      return 1;
    192193    }
    193   else
    194     {
    195       while (yyparse ());
    196     }
     194
     195  while (yyparse ())
     196    ;
     197
    197198  fclose (yyin);
    198199  itbl_have_entries = 1;
     
    507508
    508509  if (!name || !*name)
    509     return 0;                   /* error!  must have a opcode name/expr */
     510    return 0;                   /* error!  must have an opcode name/expr */
    510511
    511512  /* find entry in list of instructions for all processors */
Note: See TracChangeset for help on using the changeset viewer.