Make language_def O(1)
[deliverable/binutils-gdb.git] / gdb / defs.h
index 55d16d14b4da8e8b719bc18136a31e8b46f43e72..e180523a97cba8548624a3eff6a4304dba16ab29 100644 (file)
@@ -203,7 +203,8 @@ extern void quit_serial_event_clear (void);
    several languages.  For that reason, the constants here are sorted
    in the order we'll attempt demangling them.  For example: Rust uses
    C++ mangling, so must come after C++; Ada must come last (see
-   ada_sniff_from_mangled_name).  */
+   ada_sniff_from_mangled_name).  (Keep this order in sync with the
+   'languages' array in language.c.)  */
 
 enum language
   {
This page took 0.024811 seconds and 4 git commands to generate.