aboutsummaryrefslogtreecommitdiff
path: root/src/build.y
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/build.y7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/build.y b/src/build.y
index 0853bd9..bfda4b4 100644
--- a/src/build.y
+++ b/src/build.y
@@ -40,6 +40,7 @@ void yyerror( YYLTYPE *locp, BuildParser &bld, char const *msg );
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%token TOK_AGGREGATE "aggregate"
43%token TOK_GROUP "group"
43 44
44%token ',' ':' '=' '(' ')' 45%token ',' ':' '=' '(' ')'
45 46
@@ -123,6 +124,8 @@ actioncmd: TOK_CHECK list
123 { 124 {
124 bld.addCommand( Action::actClean ); 125 bld.addCommand( Action::actClean );
125 } 126 }
127 | TOK_CHECK TOK_GROUP STRING
128 | TOK_CLEAN TOK_GROUP STRING
126 ; 129 ;
127 130
128// Target interpretation 131// Target interpretation
@@ -158,6 +161,10 @@ targetcmd: TOK_RULE STRING
158 bld.addTargetRequires(); 161 bld.addTargetRequires();
159 } 162 }
160 | TOK_SET targetset 163 | TOK_SET targetset
164 | TOK_GROUP STRING
165 {
166 bld.addTargetGroup( $2 );
167 }
161 ; 168 ;
162 169
163targetset: STRING '=' STRING 170targetset: STRING '=' STRING