This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[obv] Fix Modula2 MAX_FUNC typo


Hi,

unaware of modula2, no regressions, it looks to me as an apparent typo.  Still
the result of this code is IMO currently not in use at all.


Regards,
Jan


http://sourceware.org/ml/gdb-cvs/2009-05/msg00136.html

2009-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* m2-exp.y (MAX_FUNC): Fix trailing UNOP_MAX.

--- src/gdb/m2-exp.y	2009/03/18 08:51:11	1.26
+++ src/gdb/m2-exp.y	2009/05/21 14:38:20	1.27
@@ -265,7 +265,7 @@
 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 ')'


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]