summaryrefslogtreecommitdiff
path: root/gdb/language.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/language.c')
-rw-r--r--gdb/language.c32
1 files changed, 20 insertions, 12 deletions
diff --git a/gdb/language.c b/gdb/language.c
index ea294e670b6..04af039c9fe 100644
--- a/gdb/language.c
+++ b/gdb/language.c
@@ -29,22 +29,30 @@
whenever the working language changes. That would be a lot faster. */
#include "defs.h"
-#include <ctype.h>
-#include "symtab.h"
-#include "gdbtypes.h"
-#include "value.h"
-#include "gdbcmd.h"
-#include "expression.h"
#include "language.h"
-#include "varobj.h"
-#include "target.h"
-#include "parser-defs.h"
+
+/* Standard C includes. */
+#include <ctype.h>
+
+/* Standard C++ includes. */
+#include <algorithm>
+
+/* Local non-gdb includes. */
#include "demangle.h"
-#include "symfile.h"
+
+/* Local includes. */
+#include "c-lang.h"
#include "cp-support.h"
+#include "expression.h"
#include "frame.h"
-#include "c-lang.h"
-#include <algorithm>
+#include "gdbcmd.h"
+#include "gdbtypes.h"
+#include "parser-defs.h"
+#include "symfile.h"
+#include "symtab.h"
+#include "target.h"
+#include "value.h"
+#include "varobj.h"
static int unk_lang_parser (struct parser_state *);