This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 09/12/2014 04:52 PM, Marek Polacek wrote:
+ protected_set_expr_location (postfix_expression, loc);
Let's use the location of the (, which should just be token->location at this point. So column 17 instead of 13 in the new test. OK with that change.
In some cases postfix_expression won't be a CALL_EXPR at this point; it might be a TARGET_EXPR or an INDIRECT_REF. But I suppose setting the location on whatever it happens to be will work well enough for now.
Jason
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |