While working on another series, I noticed that c-lang.h does not need
to include parser-defs.h. This patch makes this change, and fixes up
the two .c files that needed this include. Tested by rebuilding.
gdb/ChangeLog
2020-11-25 Tom Tromey <tom@tromey.com>
* d-lang.c: Include parser-defs.h.
* rust-lang.c: Include parser-defs.h.
* c-lang.h: Do not include parser-defs.h.
+2020-11-25 Tom Tromey <tom@tromey.com>
+
+ * d-lang.c: Include parser-defs.h.
+ * rust-lang.c: Include parser-defs.h.
+ * c-lang.h: Do not include parser-defs.h.
+
2020-11-24 Simon Marchi <simon.marchi@polymtl.ca>
* regcache.h (struct cached_reg): Remove typedef.
#include "value.h"
#include "macroexp.h"
-#include "parser-defs.h"
#include "gdbsupport/enum-flags.h"
#include "demangle.h"
#include "cp-support.h"
#include "gdbarch.h"
+#include "parser-defs.h"
/* The name of the symbol to use to get the name of the main subprogram. */
static const char D_MAIN[] = "D main";
#include <string>
#include <vector>
#include "cli/cli-style.h"
+#include "parser-defs.h"
/* See rust-lang.h. */