aboutsummaryrefslogtreecommitdiff
path: root/src/build.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/build.y')
-rw-r--r--src/build.y5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/build.y b/src/build.y
index bb30d84..0853bd9 100644
--- a/src/build.y
+++ b/src/build.y
@@ -39,6 +39,7 @@ void yyerror( YYLTYPE *locp, BuildParser &bld, char const *msg );
39%token TOK_MATCHES "matches" 39%token TOK_MATCHES "matches"
40%token TOK_PERFORM "perform" 40%token TOK_PERFORM "perform"
41%token TOK_PRODUCES "produces" 41%token TOK_PRODUCES "produces"
42%token TOK_AGGREGATE "aggregate"
42 43
43%token ',' ':' '=' '(' ')' 44%token ',' ':' '=' '(' ')'
44 45
@@ -86,6 +87,10 @@ rulecmd: TOK_MATCHES func
86 { 87 {
87 bld.addRulePerform(); 88 bld.addRulePerform();
88 } 89 }
90 | TOK_AGGREGATE func
91 {
92 bld.setRuleAggregate();
93 }
89 ; 94 ;
90 95
91// Action interpretation 96// Action interpretation