Opened 17 years ago
Closed 17 years ago
#85 closed defect (fixed)
Integers cannot be set to negative literal
| Reported by: | zirkel | Owned by: | ywei |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | front | Version: | |
| Keywords: | parser, negative, unknown operator | Cc: |
Description
Trying to declare an integer as a negative literal value, such as:
temp = -1;
will give the error
Unknow operator type: UNARY_EXPR
Note:
See TracTickets
for help on using tickets.

Fixed this by a minor change to the TreeParser