Skip to content

Commit

Permalink
Merge pull request #177 from 9rnsr/fix3011
Browse files Browse the repository at this point in the history
Issue 3011 - alias should have assignment syntax
  • Loading branch information
andralex committed Oct 22, 2012
2 parents bacdedc + 2248b31 commit 5668f12
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 5668f12

Please sign in to comment.