]> git.saurik.com Git - bison.git/commitdiff
(G_CMAX): Now INT_MAX.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 13 Dec 2002 08:50:13 +0000 (08:50 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 13 Dec 2002 08:50:13 +0000 (08:50 +0000)
src/vcg_defaults.h

index a59cb8bd350af0f65fec0b1e191f674cd678c789..36d49bbb18692dc85c044ae67f9c8f7426f1003b 100644 (file)
 
 # define G_BMAX                        100
 # define G_CMIN                        0
-/* computes the max value of an int ... */
-# define G_CMAX                        ((unsigned) 1 << (sizeof(int) * 8 - 1)) - 1
+# define G_CMAX                        INT_MAX
 # define G_PMIN                        0
 # define G_PMAX                        100
 # define G_RMIN                        0