aboutsummaryrefslogtreecommitdiff
path: root/src/gram.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/gram.y')
-rw-r--r--src/gram.y16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/gram.y b/src/gram.y
index af0093e..75c7e86 100644
--- a/src/gram.y
+++ b/src/gram.y
@@ -27,10 +27,14 @@ struct dsegm *dsdef[DS_MAX];
%locations
%token <type> T_TYPE
-%token T_OFF T_PAD T_DEF T_SET T_BOGUS
-%token <cmd> T_CMD
-%token <num> T_NUM
-%token <string> T_IDENT T_WORD
+%token T_OFF "off"
+ T_PAD "pad"
+ T_DEF "define"
+ T_SET "set"
+ T_BOGUS
+%token <cmd> T_CMD "command verb"
+%token <num> T_NUM "number"
+%token <string> T_IDENT "identifier" T_WORD "word"
%type <string> string
%type <arg> arg
%type <arglist> arglist arg1list
@@ -116,11 +120,11 @@ arg1list : arg
arg : string
{
- $$ = gdbmarg_string ($1);
+ $$ = gdbmarg_string ($1, &@1);
}
| compound
{
- $$ = gdbmarg_kvpair ($1);
+ $$ = gdbmarg_kvpair ($1, &@1);
}
;

Return to:

Send suggestions and report system problems to the System administrator.