Mercurial > projects > ldc
comparison dmd/attrib.h @ 710:20a5180f2e80
Make align(n), n != 1 an error.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 18 Oct 2008 14:33:11 +0200 |
parents | aaade6ded589 |
children | 340acf1535d0 |
comparison
equal
deleted
inserted
replaced
709:b972fb129d37 | 710:20a5180f2e80 |
---|---|
88 | 88 |
89 struct AlignDeclaration : AttribDeclaration | 89 struct AlignDeclaration : AttribDeclaration |
90 { | 90 { |
91 unsigned salign; | 91 unsigned salign; |
92 | 92 |
93 AlignDeclaration(unsigned sa, Array *decl); | 93 AlignDeclaration(Loc loc, unsigned sa, Array *decl); |
94 Dsymbol *syntaxCopy(Dsymbol *s); | 94 Dsymbol *syntaxCopy(Dsymbol *s); |
95 void semantic(Scope *sc); | 95 void semantic(Scope *sc); |
96 void toCBuffer(OutBuffer *buf, HdrGenState *hgs); | 96 void toCBuffer(OutBuffer *buf, HdrGenState *hgs); |
97 }; | 97 }; |
98 | 98 |