* p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
authorPierre Muller <muller@sourceware.org>
Mon, 17 Jan 2011 10:34:51 +0000 (10:34 +0000)
committerPierre Muller <muller@sourceware.org>
Mon, 17 Jan 2011 10:34:51 +0000 (10:34 +0000)
commita5a44b5381716fc5733f4bd93da9e90b5d11617c
tree1d27229a51a31fb5ee8fadb2bd5318c9dcc295c4
parente870b9ca1be0b8fc15b1c186db60d66d27aa1f44
* p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
for internal variables.
(last_was_structop): New static variable.
(COMPLETE): New token.
(field_exp): New rule to group all '.' suffix handling.
Add mark_struct_expression calls when approriate to be able
to correctly find fields for completion.
(yylex): Adapt to handle field completion and set INTVAR when
required.
gdb/ChangeLog
gdb/p-exp.y