xgo/compiler/parser/sync.go

14 lines
262 B
Go
Raw Normal View History

2019-01-09 10:17:42 +03:00
package parser
2019-01-11 13:27:28 +03:00
import "github.com/d5/tengo/compiler/token"
2019-01-09 10:17:42 +03:00
var stmtStart = map[token.Token]bool{
token.Break: true,
token.Continue: true,
token.For: true,
token.If: true,
token.Return: true,
token.Switch: true,
token.Var: true,
}