added a count field to listExpr and toggle now ignores count (#394)

This commit is contained in:
gotroyb127 authored and GitHub committed 2020-07-03 18:29:55 +03:00
1 parent fd73a53f84
commit 4d3e1cfd6e
5 files changed
+30 -27

No files matched your search

+2 -1
View File
@@ -114,6 +114,7 @@ func (e *execExpr) String() string {
type listExpr struct {
exprs []expr
count int
}
func (e *listExpr) String() string {
@@ -265,7 +266,7 @@ func (p *parser) parseExpr() expr {
s.scan()
result = &listExpr{exprs}
result = &listExpr{exprs, 1}
case tokenPrefix:
var expr string