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

Commit

Permalink
Fixed #9, Missing quotation in condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Xumeiquer committed Jun 29, 2017
1 parent 5125b11 commit d0b70a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions grammar/grammar.go
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,8 @@ func (p *Parser) processCondition() string {
}
} else if checkItemType(item, "__DOT__") || checkItemType(item, "__DOT_DOT__") {
value += item.GetValue()
} else if checkItemType(item, "__STRING__") {
value += "\"" + item.GetValue() + "\""
} else {
value += space + item.GetValue()
}
Expand Down

0 comments on commit d0b70a7

Please sign in to comment.