pike.git/
src/
language.yacc
Branch:
Tag:
Non-build tags
All tags
No tags
1998-03-04
1998-03-04 23:49:54 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
42d8c401403f8c849b95f867905e9383dd1c2ed0 (
8
lines) (+
4
/-
4
)
[
Show
|
Annotate
]
Branch:
7.9
oops
Rev: src/language.yacc:1.66
161:
/* 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:
%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:
} | '(' 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