X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=inline;f=parser.c;h=501f575b62c9f10898c6bf2d20e8c9545eec8382;hb=1518ab3996492fbb86a084cca8ea8cb851cd3b80;hp=59fa19455192de717b91edf6baba0f8d9ba81798;hpb=da2fec2c6d3971ef9ec3f1b8914df709eccab5bf;p=cparser diff --git a/parser.c b/parser.c index 59fa194..501f575 100644 --- a/parser.c +++ b/parser.c @@ -9181,8 +9181,8 @@ static void initialize_builtin_types(void) /* const version of wchar_t */ type_const_wchar_t = allocate_type_zero(TYPE_TYPEDEF, &builtin_source_position); - type_const_wchar_t->typedeft.declaration = type_wchar_t->typedeft.declaration; - type_const_wchar_t->base.modifiers |= TYPE_QUALIFIER_CONST; + type_const_wchar_t->typedeft.declaration = type_wchar_t->typedeft.declaration; + type_const_wchar_t->base.qualifiers |= TYPE_QUALIFIER_CONST; type_const_wchar_t_ptr = make_pointer_type(type_const_wchar_t, TYPE_QUALIFIER_NONE); }