Opened 16 years ago

Closed 16 years ago

#213 closed defect (invalid)

Add array and record literals to frontend

Reported by: zirkel Owned by: ywei
Priority: major Milestone:
Component: front Version: 1.0
Keywords: literal, array, record, struct Cc:

Description

Support for these literals exists at the lower levels, but is not in the front end

Change History (2)

comment:1 by Stephen Siegel, 16 years ago

Are you sure? This was ticket 203, which was closed by Yi with message:

"Features added. Front-end supports array and struct type initializations now. "

comment:2 by zirkel, 16 years ago

Resolution: invalid
Status: newclosed

You are correct. I was confused because I thought we should be able to do:

int a[] = {1,2,3,4};

This fails. However, it works if I add the extent:

int a[4] = {1,2,3,4};

Sorry for the confusion.

Note: See TracTickets for help on using tickets.