#84 closed enhancement (fixed)
Multiple additions to front end
| Reported by: | Stephen Siegel | Owned by: | ywei |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | front | Version: | 1.0 |
| Keywords: | pointer record allocate heap | Cc: |
Description
Need to add:
pointer types, as in
int* p; /* pointer to int */ real*** q; /* pointer to pointer to pointer to real */ int[]* r; /* pointer to array of int */
user-defined record types, something like
typedef struct {
int x;
real[N] y;
} foo;
record navigation expression (f.x)
pointer dereference expression (*) and address-of operator (&)
allocate statements, for example
int* p; p = allocate(int, 10);
deallocate statements, for example
deallocate(p);
Change History (5)
comment:1 by , 17 years ago
| Status: | new → accepted |
|---|
comment:2 by , 16 years ago
comment:4 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.

Pointer types added to the front-end. Need more test examples.