Overview
| Artifact ID: | db03ce60f9d2ea3b6ca2a0448307d1254e4412b0 |
|---|---|
| Ticket: | 1029267fffffffffffffffffffffffffffffffff
bad [expr] syntax error message |
| User & Date: | msofer on 2004-09-19 21:18:04 |
Changes
- icomment:
Logged In: YES user_id=148712 Oh my ... the whole "wrong lexeme type" section of ParsePrimaryExpr() seems non-functional. Another example is % expr 1,2 syntax error in expression "1,2": extra tokens at end of expression What is happening is that the parser sees the '1' as a complete literal expression, and complains about '=2' or ',2' or 'a2' following it. The correct message is produced for [expr =2], as the first lexeme is the bare = sign. Another beauty: % expr (1=2) syntax error in expression "(1=2)": looking for close parenthesis
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"