Declaration grouping uses braces rather than parentheses

This commit is contained in:
Ginger Bill
2017-06-13 15:04:23 +01:00
parent 6b464e3558
commit 6a88dc322a
27 changed files with 184 additions and 200 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;