From 42d8c401403f8c849b95f867905e9383dd1c2ed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Wed, 4 Mar 1998 15:49:54 -0800 Subject: [PATCH] oops Rev: src/language.yacc:1.66 --- src/language.yacc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/language.yacc b/src/language.yacc index 33dd47ae79..4bfa60e160 100644 --- a/src/language.yacc +++ b/src/language.yacc @@ -161,7 +161,7 @@ /* This is the grammar definition of Pike. */ #include "global.h" -RCSID("$Id: language.yacc,v 1.65 1998/03/04 22:17:05 hubbe Exp $"); +RCSID("$Id: language.yacc,v 1.66 1998/03/04 23:49:54 hubbe Exp $"); #ifdef HAVE_MEMORY_H #include <memory.h> #endif @@ -310,7 +310,6 @@ int yylex(YYSTYPE *yylval); %type <n> expr2 %type <n> expr3 expr0 %type <n> expr4 -%type <n> expr5 %type <n> expr_list %type <n> expr_list2 %type <n> for @@ -1249,9 +1248,9 @@ expr4: string } | '(' comma_expr2 ')' { $$=$2; } | '(' '{' expr_list '}' ')' - { $$=mkefuncallnode("aggregate",$2); } + { $$=mkefuncallnode("aggregate",$3); } | '(' '[' m_expr_list ']' ')' - { $$=mkefuncallnode("aggregate_mapping",$2); }; + { $$=mkefuncallnode("aggregate_mapping",$3); }; | F_MULTISET_START expr_list F_MULTISET_END { $$=mkefuncallnode("aggregate_multiset",$2); } | expr4 F_ARROW F_IDENTIFIER -- GitLab