/[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.39 by akim, Mon Feb 25 13:44:43 2002 UTC revision 1.40 by akim, Mon Mar 4 12:05:15 2002 UTC
# Line 236  do {                                                           \ Line 236  do {                                                           \
236  #endif  #endif
237    
238  #if defined (MSDOS) && !defined (__GO32__)  #if defined (MSDOS) && !defined (__GO32__)
 # define        BITS_PER_WORD   16  
239  # define MAXTABLE       16383  # define MAXTABLE       16383
240  #else  #else
 # define        BITS_PER_WORD   32  
241  # define MAXTABLE       32767  # define MAXTABLE       32767
242  #endif  #endif
243    
 #define WORDSIZE(n)     (((n) + BITS_PER_WORD - 1) / BITS_PER_WORD)  
 #define SETBIT(x, i)    ((x)[(i)/BITS_PER_WORD] |= (1<<((i) % BITS_PER_WORD)))  
 #define RESETBIT(x, i)  ((x)[(i)/BITS_PER_WORD] &= ~(1<<((i) % BITS_PER_WORD)))  
 #define BITISSET(x, i)  (((x)[(i)/BITS_PER_WORD] & (1<<((i) % BITS_PER_WORD))) != 0)  
   
   
244  /*-----------------------------------------.  /*-----------------------------------------.
245  | Extensions to use for the output files.  |  | Extensions to use for the output files.  |
246  `-----------------------------------------*/  `-----------------------------------------*/

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

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