Ticket #202 (closed defect)

Opened 15 years ago

Last modified 15 years ago

grammar: ParameterDeclaration missing production

Reported by: dherman Owned by: dherman
Priority: major Milestone:
Component: dherman/c.plt Keywords:
Cc: Version: 0.3
Racket Version: 4.0

Description

The production

ParameterDeclaration --> DeclarationSpecifiers AbstractDeclarator

is not implemented in the grammar. This causes a shift/reduce conflict that needs to be investigated.

Change History

Changed 15 years ago by dherman

Here are some test cases, thanks to Tom Schouten.

The following examples parse:

typedef int (*fn) (int);
typedef int (*fn) (int* x);

But this example does not:

typedef int (*fn) (int*);

Changed 15 years ago by dherman

  • status changed from new to closed

Fixed in 3:2.

Note: See TracTickets for help on using tickets.