Skip to content
This repository was archived by the owner on Jan 21, 2019. It is now read-only.

Commit d0b70a7

Browse files
committed
Fixed #9, Missing quotation in condition
1 parent 5125b11 commit d0b70a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

grammar/grammar.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,8 @@ func (p *Parser) processCondition() string {
481481
}
482482
} else if checkItemType(item, "__DOT__") || checkItemType(item, "__DOT_DOT__") {
483483
value += item.GetValue()
484+
} else if checkItemType(item, "__STRING__") {
485+
value += "\"" + item.GetValue() + "\""
484486
} else {
485487
value += space + item.GetValue()
486488
}

0 commit comments

Comments
 (0)