Opened 15 years ago

Closed 15 years ago

#292 closed defect (fixed)

bug when initializing multiple variables in one decl

Reported by: Stephen Siegel Owned by: Stephen Siegel
Priority: critical Milestone: 1.1
Component: front Version: 1.1
Keywords: initializer Cc:

Description

When doing something like

int s=10, t=11;

both variables are initialized to 10. It looks like a front-end problem: the initializer from the first variable is used for all variables in that line.

Change History (2)

comment:1 by Stephen Siegel, 15 years ago

Owner: changed from zirkel to Stephen Siegel
Status: newaccepted

comment:2 by Stephen Siegel, 15 years ago

Resolution: fixed
Status: acceptedclosed

Fixed. Modified grammar by introducing new rule.

Note: See TracTickets for help on using tickets.