Branch: Tag:

1997-09-27

1997-09-27 14:19:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed bug in is8bitalnum.

Rev: src/pike_macros.h:1.4

20:   #define MAXIMUM(X,Y) ((X)>(Y)?(X):(Y))       - #define is8bitalnum(X) ("0000000000000000000000000000100000000000000000001111111111000000011111111111111111111111111000010111111111111111111111111110000000000000000000000000000000000000101111010110001011110110011011100000000001111111111111101111111111111111111111111111111011111111"[((unsigned)(X))&0xff] == '1') + #define is8bitalnum(X) ("0000000000000000" \ +  "0000000000001000" \ +  "0000000000000000" \ +  "1111111111000000" \ +  "0111111111111111" \ +  "1111111111100001" \ +  "0111111111111111" \ +  "1111111111100000" \ +  "0000000000000000" \ +  "0000000000000000" \ +  "1011110101100010" \ +  "1011011001101110" \ +  "1111111111111111" \ +  "1111111011111111" \ +  "1111111111111111" \ +  "1111111011111111"[((unsigned)(X))&0xff] == '1')      #define isidchar(X) is8bitalnum(X)