diff options
author | Paul N. Hilfinger <hilfinger@adacore.com> | 2004-10-06 09:28:55 +0000 |
---|---|---|
committer | Paul N. Hilfinger <hilfinger@adacore.com> | 2004-10-06 09:28:55 +0000 |
commit | 247ce538a48b4d211c05286312ee1ad7b4bf5518 (patch) | |
tree | 9ed5ce8a7f2d05bed4e3dc8c6a2381a7adcc575a /gdb/ada-exp.y | |
parent | 3ddf685c7fa6ba4940def9c14b2ccf76bd4ff842 (diff) | |
download | gdb-247ce538a48b4d211c05286312ee1ad7b4bf5518.tar.gz |
2004-10-06 Paul N. Hilfinger <Hilfinger@gnat.com>
* Makefile.in (.l.c): Do conversions of names of alloc and free
functions that are done for .y.c files, plus special one
for yy_flex_realloc. Also, correct missing-file tests here.
* ada-lex.l (malloc, free): Remove macros.
(resize_tempbuf): Use "realloc"; rely on sed changes to convert to
xrealloc.
(ada_flex_use): Dummy definition to remove warnings about unused
functions.
* ada-exp.y (dummy_string_to_ada_operator): Temporary definition
to suppress warning.
Diffstat (limited to 'gdb/ada-exp.y')
-rw-r--r-- | gdb/ada-exp.y | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index 73bd120a48f..936a5a7c0e1 100644 --- a/gdb/ada-exp.y +++ b/gdb/ada-exp.y @@ -952,3 +952,13 @@ _initialize_ada_exp (void) { obstack_init (&temp_parse_space); } + +/* FIXME: hilfingr/2004-10-05: Hack to remove warning. The function + string_to_operator is supposed to be used for cases where one + calls an operator function with prefix notation, as in + "+" (a, b), but at some point, this code seems to have gone + missing. */ + +struct stoken (*dummy_string_to_ada_operator) (struct stoken) + = string_to_operator; + |