aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/ast
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-12-24 16:52:56 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-12-24 18:56:06 +0100
commitdd61e58d94240df628a568c5609b1441746f4a54 (patch)
treee3af3214314c85e0cd614f642d391bdbf9d707ce /pkg/ast
parentdd2986b43bc0024340006833d6a7f05ec94c061c (diff)
sys/linux: extend AX25/ROSE/NETROM descriptions
Diffstat (limited to 'pkg/ast')
-rw-r--r--pkg/ast/scanner.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/ast/scanner.go b/pkg/ast/scanner.go
index af9ac562f..0d0054376 100644
--- a/pkg/ast/scanner.go
+++ b/pkg/ast/scanner.go
@@ -196,6 +196,7 @@ func (s *scanner) scanStr(pos Pos) string {
}
lit := string(s.data[pos.Off+1 : s.off])
for i := 0; i < len(lit); i++ {
+ //lit[i]
if lit[i] < 0x20 || lit[i] >= 0x80 {
pos1 := pos
pos1.Col += i + 1