diff options
Diffstat (limited to 'vendor/github.com/d5/tengo/compiler/parser/sync.go')
-rw-r--r-- | vendor/github.com/d5/tengo/compiler/parser/sync.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/github.com/d5/tengo/compiler/parser/sync.go b/vendor/github.com/d5/tengo/compiler/parser/sync.go new file mode 100644 index 00000000..e68d623a --- /dev/null +++ b/vendor/github.com/d5/tengo/compiler/parser/sync.go @@ -0,0 +1,12 @@ +package parser + +import "github.com/d5/tengo/compiler/token" + +var stmtStart = map[token.Token]bool{ + token.Break: true, + token.Continue: true, + token.For: true, + token.If: true, + token.Return: true, + token.Export: true, +} |