Declaration grouping uses () rather than {}; Fix some problem with compilation on *nix

This commit is contained in:
Ginger Bill
2017-06-17 12:01:53 +01:00
parent 3fa398ec43
commit 2deb2f8eeb
32 changed files with 195 additions and 197 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
const {
const (
REPLACEMENT_CHAR = '\uFFFD';
MAX_RUNE = '\U0010FFFF';
@@ -6,7 +6,7 @@ const {
_surr2 = 0xdc00;
_surr3 = 0xe000;
_surr_self = 0x10000;
}
)
proc is_surrogate(r: rune) -> bool {
return _surr1 <= r && r < _surr3;