aboutsummaryrefslogtreecommitdiff
path: root/src/build.y
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-12-21 22:24:48 +0000
committerMike Buland <eichlan@xagasoft.com>2009-12-21 22:24:48 +0000
commit97c0fcbbef19012f825cba0fc3f16037322ce84c (patch)
tree4169f36e050f4df84280c948148f8f054c37091e /src/build.y
parent8ebc3f17961ef6a0cf708cc6bdca948d77817ee0 (diff)
downloadbuild-97c0fcbbef19012f825cba0fc3f16037322ce84c.tar.gz
build-97c0fcbbef19012f825cba0fc3f16037322ce84c.tar.bz2
build-97c0fcbbef19012f825cba0fc3f16037322ce84c.tar.xz
build-97c0fcbbef19012f825cba0fc3f16037322ce84c.zip
We're getting closer and closer, qt4 is more configurable and gets QT flags
for you for CXXFLAGS and LDFLAGS, added a bunch more stuff and fixed a strange function input bug.
Diffstat (limited to '')
-rw-r--r--src/build.y12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/build.y b/src/build.y
index a6618e4..3e9c8fd 100644
--- a/src/build.y
+++ b/src/build.y
@@ -188,7 +188,7 @@ value_mods:
188 188
189value_core: variable 189value_core: variable
190 | literal 190 | literal
191 | function 191 | function_no_input
192 | list 192 | list
193 ; 193 ;
194 194
@@ -254,6 +254,16 @@ function: UNDEF '(' {
254 } 254 }
255 ; 255 ;
256 256
257function_no_input: UNDEF '(' {
258 bld.xAst.addNode( AstNode::typeNull );
259 bld.xAst.addNode( AstNode::typeFunction );
260 bld.xAst.openBranch();
261 bld.xAst.addNode( AstNode::typeString, $1 );
262 } func_params ')' {
263 bld.xAst.closeNode();
264 }
265 ;
266
257requires: TOK_REQUIRES { 267requires: TOK_REQUIRES {
258 bld.xAst.addNode( AstNode::typeRequires ); 268 bld.xAst.addNode( AstNode::typeRequires );
259 bld.xAst.openBranch(); 269 bld.xAst.openBranch();