/[bison]/bison/src/reader.c
ViewVC logotype

Diff of /bison/src/reader.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.72.2.30 by akim, Mon Mar 4 16:59:51 2002 UTC revision 1.72.2.31 by eggert, Mon Mar 18 21:53:05 2002 UTC
# Line 745  typedef union"; Line 745  typedef union";
745    const char *epilogue = "\    const char *epilogue = "\
746   yystype;\n\   yystype;\n\
747  # define YYSTYPE yystype\n\  # define YYSTYPE yystype\n\
748    # define YYSTYPE_IS_TRIVIAL 1\n\
749  #endif\n";  #endif\n";
750    
751    if (typed)    if (typed)
# Line 1617  readgram (void) Line 1618  readgram (void)
1618        /* We used to use `unsigned long' as YYSTYPE on MSDOS,        /* We used to use `unsigned long' as YYSTYPE on MSDOS,
1619           but it seems better to be consistent.           but it seems better to be consistent.
1620           Most programs should declare their own type anyway.  */           Most programs should declare their own type anyway.  */
1621        obstack_sgrow (&attrs_obstack,        obstack_sgrow (&attrs_obstack, "\
1622                             "#ifndef YYSTYPE\n#define YYSTYPE int\n#endif\n");  #ifndef YYSTYPE\n\
1623    # define YYSTYPE int\n\
1624    # define YYSTYPE_IS_TRIVIAL 1\n\
1625    #endif\n");
1626        if (defines_flag)        if (defines_flag)
1627          obstack_sgrow (&defines_obstack, "\          obstack_sgrow (&defines_obstack, "\
1628  # ifndef YYSTYPE\n\  # ifndef YYSTYPE\n\
1629  #  define YYSTYPE int\n\  #  define YYSTYPE int\n\
1630    #  define YYSTYPE_IS_TRIVIAL 1\n\
1631  # endif\n");  # endif\n");
1632      }      }
1633    
# Line 2043  typedef struct yyltype\n\ Line 2048  typedef struct yyltype\n\
2048  } yyltype;\n\  } yyltype;\n\
2049  \n\  \n\
2050  # define YYLTYPE yyltype\n\  # define YYLTYPE yyltype\n\
2051    # define YYLTYPE_IS_TRIVIAL 1\n\
2052  #endif\n\  #endif\n\
2053  \n");  \n");
2054  }  }

Legend:
Removed from v.1.72.2.30  
changed lines
  Added in v.1.72.2.31

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26