Opened 17 years ago

Closed 17 years ago

#51 closed enhancement (fixed)

add front end support for ++ and --

Reported by: Stephen Siegel Owned by: ywei
Priority: minor Milestone:
Component: front Version: 1.0
Keywords: increment, ++, decrement, -- Cc:

Description

Add to grammar statements of the form expr++. This is just syntactic sugar for expr = expr + 1. Translate into that form. Similarly for expr--.

Change History (2)

comment:1 by ywei, 17 years ago

Status: newaccepted

comment:2 by ywei, 17 years ago

Resolution: fixed
Status: acceptedclosed

Feature added.

Note: See TracTickets for help on using tickets.