diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-09-12 00:22:33 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-09-12 00:22:33 +0000 |
commit | d19ada0aa88aba1c7b439035c0028440ac860ec3 (patch) | |
tree | fb8cde98650aa66fcdb736b045f541eac1b8b93a /src/build.y | |
parent | 97d529fac68105f0d3d34c699a4ac10489c705e8 (diff) | |
download | build-d19ada0aa88aba1c7b439035c0028440ac860ec3.tar.gz build-d19ada0aa88aba1c7b439035c0028440ac860ec3.tar.bz2 build-d19ada0aa88aba1c7b439035c0028440ac860ec3.tar.xz build-d19ada0aa88aba1c7b439035c0028440ac860ec3.zip |
Build now builds, it has viewers, and dependancy checking, and everything works.
Now we have to add cleaning, caching, and more viewer hooks / viewers.
Diffstat (limited to 'src/build.y')
-rw-r--r-- | src/build.y | 5 |
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 |