diff options
author | Pierre Muller <muller@sourceware.org> | 2002-05-16 09:34:54 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2002-05-16 09:34:54 +0000 |
commit | 9819c6c883f282e4fa6fa3e1269009d484a1fb10 (patch) | |
tree | c51600ff99f0bb7a52db23c0aefc8d0526ba80b9 /gdb/parse.c | |
parent | 3a06899a961edc2d09efd644816d91018435bbcd (diff) | |
download | gdb-9819c6c883f282e4fa6fa3e1269009d484a1fb10.zip gdb-9819c6c883f282e4fa6fa3e1269009d484a1fb10.tar.gz gdb-9819c6c883f282e4fa6fa3e1269009d484a1fb10.tar.bz2 |
2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
* p-exp.y (current_type): New static variable.
Carries the type of the expression at the position that is parsed.
(push_current_type, pop_current_type): Two new functions. Used
to store/restore current_type in expression on specific tokens.
(search_filed): New static variable. Set to one after parsing a point as
at that point only a FIELDNAME token should be searched.
(FIELDNAME): New token. After a point only a token belonging to
current_type type definition is allowed.
(all over token rules): reset and change current_type according
to rules.
(exp '[' rule): insert implicit array index field if
exp is a pascal string type.
Diffstat (limited to 'gdb/parse.c')
0 files changed, 0 insertions, 0 deletions