aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-exp.y
AgeCommit message (Collapse)AuthorFilesLines
2002-05-162002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller1-31/+151
* 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.
2002-04-252002-04-25 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller1-0/+5
* p-exp.y: Also use new prev_lexptr variable to improve error reporting. Based on Michael Snyder 2002-04-24 dated patch to c-exp.y.
2002-04-182002-04-18 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller1-2/+2
* p-exp.y: Add precedence rule for '^' token. This removes the shift/reduce conflicts. Remove the comment concerning these shift/reduce conflicts.
2002-04-092002-04-09 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller1-4/+4
* p-exp.y (yylex): Handle also the fact that is_a_field_of_this is non zero as a found symbol.
2001-11-092001-11-06 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller1-10/+44
* p-exp.y (yylex): Only change case of expression if symbol is found. Also check for GPC standard name form.
2001-06-10* gnu-regex.c: Eliminate obsolete check for _MSC_VER.Christopher Faylor1-5/+0
* utils.c (notice_quit): Remove dummy function only used for _MSC_VER. * values.c (unpack_double): Remove obsolete check for _MSC_VER. * defs.h: Ditto. * m32r-rom.c: Ditto. * p-exp.y: Ditto. * ser-e7kpc.c: Ditto. Define WIN32_LEAN_AND_MEAN under _WIN32, for faster compilation. (get_ds_base): Remove _MSC_VER version of this function. * nindy-share/ttyflush.c: Ditto. X * rdi-share/host.h: Ditto. X * ser-go32.c (dos_readchar): Remove call to obsolete function. * remote-sim.c (gdb_os_poll_quit): Ditto. * remote-e7000.c (expect): Remove obsolete #if 0'ed code. * main.c (captured_main): Eliminate special Cygwin checks. * ser-tcp.c: Remove unneeded __CYGWIN__ guard against system include.
2001-03-19* p-exp.y (parse_number): Avoid shift overflow when ``long''.Andrew Cagney1-7/+6
Code copied from c-exp.y.
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+1
2000-12-012000-12-01 Fernando Nasser <fnasser@redhat.com>Fernando Nasser1-2/+7
* p-exp.y: Define strncasecmp as strnicmp for MSVC. (yylex): Use strncasecmp, not strnicmp.
2000-12-012000-10-27 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller1-16/+22
* p-exp.y (yylex): avoid problem with symbol name starting as a operator name.
2000-06-142000-06-14 Pierre Muller <muller@ics.u-strasbg.fr> Pierre Muller1-0/+1446
Add support for Pascal language. Part 1: new files. * p-exp.y, p-lang.c, p-lang.h, p-typeprint.c, p-valprint.c: New files.