From: Christoph Mallon Date: Mon, 10 Dec 2007 22:47:18 +0000 (+0000) Subject: Print the original type in a warning, not the skipped type. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=6306c38c841ce77656f2181c252eabef2aee88f9;p=cparser Print the original type in a warning, not the skipped type. [r18664] --- diff --git a/parser.c b/parser.c index 13197ca..387681d 100644 --- a/parser.c +++ b/parser.c @@ -3706,7 +3706,7 @@ static expression_t *parse_select_expression(unsigned precedence, } } if(iter == NULL) { - errorf(HERE, "'%T' has no member names '%Y'", type_left, symbol); + errorf(HERE, "'%T' has no member named '%Y'", orig_type, symbol); return create_invalid_expression(); }