Branch: Tag:

2017-04-27

2017-04-27 13:34:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Master: Fix range for bool type.

Makes sure that 0 is part of the range for the bool type.

Fixes PIKE-8 (#8008).

1785:   #endif   });    - enum bool { false=0, true=1 }; + typedef int(0..1) bool; + enum { false=0, true=1 };      //! Prefix for Pike-related C header files.   string include_prefix;