Skip to content

Commit

Permalink
fix Issue 3011 - alias should have assignment syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
9rnsr committed Oct 17, 2012
1 parent 754cf75 commit 2248b31
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions declaration.dd
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,18 @@ $(GNAME AliasDeclaration):

$(GNAME AliasDeclaration):
$(B alias) $(GLINK BasicType) $(GLINK Declarator)
$(B alias) $(GLINK AliasInitializerList)

$(GNAME AliasInitializerList):
$(GLINK AliasInitializer)
$(GLINK AliasInitializer) $(B ,) $(I AliasInitializerList)

$(GNAME AliasInitializer):
$(I Identifier) $(B =) $(GLINK Type)

$(GNAME AliasThisDeclaration):
$(B alias) $(I Identifier) $(B this)
$(B alias) $(B this) $(B =) $(I Identifier)
)
$(GNAME Decl):
$(GLINK StorageClasses) $(I Decl)
Expand Down

0 comments on commit 2248b31

Please sign in to comment.