xgo/compiler/scanner/mode.go

11 lines
151 B
Go
Raw Normal View History

2019-01-09 10:17:42 +03:00
package scanner
// Mode represents a scanner mode.
2019-01-09 10:17:42 +03:00
type Mode int
// List of scanner modes.
2019-01-09 10:17:42 +03:00
const (
ScanComments Mode = 1 << iota
DontInsertSemis
)