aboutsummaryrefslogtreecommitdiff
path: root/gdb/parser-defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/parser-defs.h')
-rw-r--r--gdb/parser-defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h
index 28cd02e..b2c5b83 100644
--- a/gdb/parser-defs.h
+++ b/gdb/parser-defs.h
@@ -32,6 +32,9 @@ extern struct expression *expout;
extern int expout_size;
extern int expout_ptr;
+#define parse_gdbarch (expout->gdbarch)
+#define parse_language (expout->language_defn)
+
/* If this is nonzero, this block is used as the lexical context
for symbol names. */