aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/compiler
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-11-04 12:38:48 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-11-04 12:39:39 +0100
commite2d61622eb61b451cb2cc72684154fafa1977eef (patch)
tree9e07e887e8fd276da1486a0c12f975dfdc2dcc5d /pkg/compiler
parentb35fad31e9c2d4a970d051deff80ec7cc4c3e459 (diff)
sys/linux: improve CAN descriptions
Diffstat (limited to 'pkg/compiler')
-rw-r--r--pkg/compiler/types.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/compiler/types.go b/pkg/compiler/types.go
index 903c0957e..2858f9fb2 100644
--- a/pkg/compiler/types.go
+++ b/pkg/compiler/types.go
@@ -100,8 +100,7 @@ var typeInt = &typeDesc{
maxUInt := uint64(1<<size - 1)
maxSInt := uint64(1<<(size-1) - 1)
if len(args) > 1 && begin == 0 && int64(end) == -1 {
- // intN[0:-1, align] is a special value for 'all possible values',
- // but aligned.
+ // intN[0:-1, align] is a special value for 'all possible values', but aligned.
end = maxUInt
} else if end-begin > 1<<64-1<<32 {
comp.error(args[0].Pos, "bad int range [%v:%v]", begin, end)