This bug will produce wrong result when parsing the expression which requires string comparison involving these operators:
- LSS (less than) should be '<' not '>'
- LEQ (less than equal) should be '<=' not '>='
|
case token.LSS: |
|
v.res = strconv.FormatBool(xVisitor.res > yVisitor.res) |
|
case token.LEQ: |
|
v.res = strconv.FormatBool(xVisitor.res >= yVisitor.res) |