/[bison]/bison/src/system.h
ViewVC logotype

Diff of /bison/src/system.h

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

revision 1.23.2.12 by marc, Sun Jan 20 10:59:44 2002 UTC revision 1.23.2.13 by juan_g, Wed Feb 13 16:13:31 2002 UTC
# Line 239  do {                                                           \ Line 239  do {                                                           \
239  # define        MINSHORT        -32768  # define        MINSHORT        -32768
240  #endif  #endif
241    
242  #if defined (MSDOS) && !defined (__GO32__)  #if defined (MSDOS) && !defined (__GO32__) && !defined (__DJGPP__)
243  # define        BITS_PER_WORD   16  # define        BITS_PER_WORD   16
244  # define MAXTABLE       16383  # define MAXTABLE       16383
245  #else  #else
# Line 261  do {                                                           \ Line 261  do {                                                           \
261  # define EXT_OUTPUT     ".output"  # define EXT_OUTPUT     ".output"
262  # define EXT_STYPE_H    "_stype"  # define EXT_STYPE_H    "_stype"
263  # define EXT_GUARD_C    "_guard"  # define EXT_GUARD_C    "_guard"
264    # define EXT_TYPE(ext)  (ext)
265  #else /* ! VMS */  #else /* ! VMS */
266  # ifdef MSDOS  # ifdef MSDOS
267     /* MS DOS. */  #  if defined (__DJGPP__)
268  #  define EXT_TAB       "_tab"      /* DJGPP */
269  #  define EXT_OUTPUT    ".out"  #   define EXT_TAB              ((pathconf (NULL, _PC_NAME_MAX) > 12) ? ".tab"    : "_tab")
270  #  define EXT_STYPE_H   ".sth"  #   define EXT_OUTPUT           ((pathconf (NULL, _PC_NAME_MAX) > 12) ? ".output" : ".out")
271  #  define EXT_GUARD_C   ".guc"  #   define EXT_STYPE_H          ((pathconf (NULL, _PC_NAME_MAX) > 12) ? ".stype"  : ".sth")
272    #   define EXT_GUARD_C          ((pathconf (NULL, _PC_NAME_MAX) > 12) ? ".guard"  : ".guc")
273    #   define EXT_TYPE(ext)        ((pathconf (NULL, _PC_NAME_MAX) > 12) ? (ext)     : "")
274    #  else /* ! __DJGPP__ */
275        /* MS DOS. */
276    #   define EXT_TAB              "_tab"
277    #   define EXT_OUTPUT           ".out"
278    #   define EXT_STYPE_H          ".sth"
279    #   define EXT_GUARD_C          ".guc"
280    #   define EXT_TYPE(ext)        ""
281    #  endif
282  # else /* ! MSDOS */  # else /* ! MSDOS */
283    /* Standard. */    /* Standard. */
284  #  define EXT_TAB       ".tab"  #  define EXT_TAB       ".tab"
285  #  define EXT_OUTPUT    ".output"  #  define EXT_OUTPUT    ".output"
286  #  define EXT_STYPE_H   ".stype"  #  define EXT_STYPE_H   ".stype"
287  #  define EXT_GUARD_C   ".guard"  #  define EXT_GUARD_C   ".guard"
288    #  define EXT_TYPE(ext) (ext)
289  # endif /* ! MSDOS */  # endif /* ! MSDOS */
290  #endif /* ! VMS */  #endif /* ! VMS */
291    

Legend:
Removed from v.1.23.2.12  
changed lines
  Added in v.1.23.2.13

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