gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 21 May 2009 14:38:20 +0000 (14:38 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 21 May 2009 14:38:20 +0000 (14:38 +0000)
* m2-exp.y (MAX_FUNC): Fix trailing UNOP_MAX.

gdb/ChangeLog
gdb/m2-exp.y

index f8586705d971c047c127fc2a1f9de3e97ee36b40..05f9c2a39310d93de120a56beb3510cf6c1e1bc4 100644 (file)
@@ -1,3 +1,7 @@
+2009-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * m2-exp.y (MAX_FUNC): Fix trailing UNOP_MAX.
+
 2009-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * dwarf2read.c (set_cu_language): Recognize also DW_LANG_C99.
index 41271b77ba82582b5bf0dcb7a511aec8ed528d00..0c3c6576e606a109c16a2021f1fc64aed6591b0a 100644 (file)
@@ -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 ')'