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]

FYI: fix typo in language.h macro


I'm checking this in.

I happened to notice a typo in a macro argument in language.h.
It is not a severe bug since the actual argument in its one use has the
same name as the (corrected) formal parameter.

Tom

2010-10-13  Tom Tromey  <tromey@redhat.com>

	* language.h (LA_PRINT_ARRAY_INDEX): Fix argument name.

Index: language.h
===================================================================
RCS file: /cvs/src/src/gdb/language.h,v
retrieving revision 1.68
diff -u -r1.68 language.h
--- language.h	14 Jun 2010 08:26:56 -0000	1.68
+++ language.h	13 Oct 2010 17:33:45 -0000
@@ -418,7 +418,7 @@
 #define LA_GET_STRING(value, buffer, length, chartype, encoding) \
   (current_language->la_get_string(value, buffer, length, chartype, encoding))
 
-#define LA_PRINT_ARRAY_INDEX(index_value, stream, optins) \
+#define LA_PRINT_ARRAY_INDEX(index_value, stream, options) \
   (current_language->la_print_array_index(index_value, stream, options))
 
 /* Test a character to decide whether it can be printed in literal form


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