diff options
Diffstat (limited to 'vendor/github.com/d5/tengo/compiler/scanner/mode.go')
-rw-r--r-- | vendor/github.com/d5/tengo/compiler/scanner/mode.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/github.com/d5/tengo/compiler/scanner/mode.go b/vendor/github.com/d5/tengo/compiler/scanner/mode.go new file mode 100644 index 00000000..f67ceaf8 --- /dev/null +++ b/vendor/github.com/d5/tengo/compiler/scanner/mode.go @@ -0,0 +1,10 @@ +package scanner + +// Mode represents a scanner mode. +type Mode int + +// List of scanner modes. +const ( + ScanComments Mode = 1 << iota + DontInsertSemis +) |