aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y10
1 files changed, 3 insertions, 7 deletions
diff --git a/parse.y b/parse.y
index 545559c424..01a948e092 100644
--- a/parse.y
+++ b/parse.y
@@ -68,11 +68,7 @@ enum lex_state_e {
EXPR_VALUE /* alike EXPR_BEG but label is disallowed. */
};
-# ifdef HAVE_LONG_LONG
-typedef unsigned LONG_LONG stack_type;
-# else
-typedef unsigned long stack_type;
-# endif
+typedef VALUE stack_type;
# define BITSTACK_PUSH(stack, n) (stack = (stack<<1)|((n)&1))
# define BITSTACK_POP(stack) (stack = stack >> 1)
@@ -2381,13 +2377,13 @@ call_args : command
;
command_args : {
- $<num>$ = cmdarg_stack;
+ $<val>$ = cmdarg_stack;
CMDARG_PUSH(1);
}
call_args
{
/* CMDARG_POP() */
- cmdarg_stack = $<num>1;
+ cmdarg_stack = $<val>1;
$$ = $2;
}
;