aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y14
1 files changed, 2 insertions, 12 deletions
diff --git a/parse.y b/parse.y
index 3123e60498..3975e513c3 100644
--- a/parse.y
+++ b/parse.y
@@ -4465,15 +4465,7 @@ backref : tNTH_REF
| tBACK_REF
;
-superclass : term
- {
- /*%%%*/
- $$ = 0;
- /*%
- $$ = Qnil;
- %*/
- }
- | '<'
+superclass : '<'
{
lex_state = EXPR_BEG;
command_start = TRUE;
@@ -4482,13 +4474,11 @@ superclass : term
{
$$ = $3;
}
- | error term
+ | /* none */
{
/*%%%*/
- yyerrok;
$$ = 0;
/*%
- yyerrok;
$$ = Qnil;
%*/
}