Age | Commit message (Collapse) | Author | Files | Lines |
|
* 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.
|
|
* 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.
|
|
* p-exp.y: Add precedence rule for '^' token.
This removes the shift/reduce conflicts.
Remove the comment concerning these shift/reduce conflicts.
|
|
* p-exp.y (yylex): Handle also the fact that is_a_field_of_this
is non zero as a found symbol.
|
|
* p-exp.y (yylex): Only change case of expression if symbol is found.
Also check for GPC standard name form.
|
|
* 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.
|
|
Code copied from c-exp.y.
|
|
|
|
* p-exp.y: Define strncasecmp as strnicmp for MSVC.
(yylex): Use strncasecmp, not strnicmp.
|
|
* p-exp.y (yylex): avoid problem with symbol name
starting as a operator name.
|
|
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.
|