aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/c.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/c.c b/src/c.c
index 0877b56..75937f3 100644
--- a/src/c.c
+++ b/src/c.c
@@ -2725,7 +2725,7 @@ decltypes(CComp *cm, DeclList *list, internstr *name, Span *span, Span *namespan
static Decl
declarator(DeclState *st, CComp *cm, Span span0) {
- Decl decl = { st->base, st->scls, .qual = st->qual, .align = st->align, .span = span0 };
+ Decl decl = { st->base, st->scls, .qual = st->qual, .span = span0 };
DeclList list = { &list, &list }, *l;
Span namespan ={0};
static bool inidecltmp;
@@ -2878,10 +2878,10 @@ pdecl(DeclState *st, CComp *cm) {
if (st->scls == SCTYPEDEF) properdecl = 0;
if (first && st->tagdecl && match(cm, &tk, ';')) {
- decl = (Decl) { st->base, st->scls, st->qual, .align = st->align, .span = decl.span };
+ decl = (Decl) { st->base, st->scls, st->qual, .span = decl.span };
return decl;
} else if (st->kind == DFIELD && match(cm, &tk, ':')) {
- decl = (Decl) { st->base, st->scls, st->qual, .align = st->align, .span = decl.span };
+ decl = (Decl) { st->base, st->scls, st->qual, .span = decl.span };
st->bitf = 1;
return decl;
}