Pierre Muller
9819c6c883
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.
2002-05-16 09:34:54 +00:00
Pierre Muller
24467a8686
2002-04-25 Pierre Muller <muller@ics.u-strasbg.fr>
...
* 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-25 14:51:29 +00:00
Pierre Muller
29f319b84c
2002-04-18 Pierre Muller <muller@ics.u-strasbg.fr>
...
* p-exp.y: Add precedence rule for '^' token.
This removes the shift/reduce conflicts.
Remove the comment concerning these shift/reduce conflicts.
2002-04-18 15:22:19 +00:00
Pierre Muller
6044e3ebce
2002-04-09 Pierre Muller <muller@ics.u-strasbg.fr>
...
* p-exp.y (yylex): Handle also the fact that is_a_field_of_this
is non zero as a found symbol.
2002-04-09 10:52:41 +00:00
Pierre Muller
94a716bf57
2001-11-06 Pierre Muller <muller@ics.u-strasbg.fr>
...
* p-exp.y (yylex): Only change case of expression if symbol is found.
Also check for GPC standard name form.
2001-11-09 09:46:40 +00:00
Christopher Faylor
0b6a968ee6
* gnu-regex.c: Eliminate obsolete check for _MSC_VER.
...
* 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-06-10 16:25:51 +00:00
Andrew Cagney
7451d02767
* p-exp.y (parse_number): Avoid shift overflow when ``long''.
...
Code copied from c-exp.y.
2001-03-19 19:05:21 +00:00
Kevin Buettner
b6ba6518e9
Update/correct copyright notices.
2001-03-06 08:22:02 +00:00
Fernando Nasser
9c21ccdc34
2000-12-01 Fernando Nasser <fnasser@redhat.com>
...
* p-exp.y: Define strncasecmp as strnicmp for MSVC.
(yylex): Use strncasecmp, not strnicmp.
2000-12-01 20:05:48 +00:00
Pierre Muller
d3d6d17346
2000-10-27 Pierre Muller <muller@ics.u-strasbg.fr>
...
* p-exp.y (yylex): avoid problem with symbol name
starting as a operator name.
2000-12-01 10:40:10 +00:00
Pierre Muller
373a824730
2000-06-14 Pierre Muller <muller@ics.u-strasbg.fr>
...
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.
2000-06-14 12:27:59 +00:00