From c244a140a5886ace48a9c18ebf9f268a0280f99b Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Thu, 21 May 2009 14:38:20 +0000 Subject: [PATCH] gdb/ * m2-exp.y (MAX_FUNC): Fix trailing UNOP_MAX. --- gdb/ChangeLog | 4 ++++ gdb/m2-exp.y | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f8586705d97..05f9c2a3931 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-05-21 Jan Kratochvil + + * m2-exp.y (MAX_FUNC): Fix trailing UNOP_MAX. + 2009-05-21 Jan Kratochvil * dwarf2read.c (set_cu_language): Recognize also DW_LANG_C99. diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y index 41271b77ba8..0c3c6576e60 100644 --- a/gdb/m2-exp.y +++ b/gdb/m2-exp.y @@ -265,7 +265,7 @@ exp : MIN_FUNC '(' type ')' exp : MAX_FUNC '(' type ')' { write_exp_elt_opcode (UNOP_MAX); write_exp_elt_type ($3); - write_exp_elt_opcode (UNOP_MIN); } + write_exp_elt_opcode (UNOP_MAX); } ; exp : FLOAT_FUNC '(' exp ')' -- 2.30.2