aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-exp.y
diff options
context:
space:
mode:
authorMichael Tiemann <tiemann@cygnus>1992-07-09 11:47:50 +0000
committerMichael Tiemann <tiemann@cygnus>1992-07-09 11:47:50 +0000
commit368c8614bcd91f301888ee8541df5e1c48998bde (patch)
tree3718727bc32ae0d43fe4be229c6ec495d09bcf68 /gdb/c-exp.y
parent866ecded64f95d14bfc4ac313211a5cb9a289afa (diff)
downloadgdb-368c8614bcd91f301888ee8541df5e1c48998bde.zip
gdb-368c8614bcd91f301888ee8541df5e1c48998bde.tar.gz
gdb-368c8614bcd91f301888ee8541df5e1c48998bde.tar.bz2
Minor changes to make these work with bison again.
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r--gdb/c-exp.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index 4416253..793b769 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -193,9 +193,6 @@ parse_number PARAMS ((char *, int, int, YYSTYPE *));
%type <bval> block
%left COLONCOLON
-
-%%
-
%{
/* Ensure that if the generated parser contains any calls to malloc/realloc,
that they get mapped to xmalloc/xrealloc. We have to do this here
@@ -208,6 +205,9 @@ parse_number PARAMS ((char *, int, int, YYSTYPE *));
#define realloc xrealloc
%}
+
+%%
+
start : exp1
| type_exp
;