]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
[parser] Call eval and remove non ast code
authorHolger Freyther <ich@tamarin.(none)>
Tue, 19 May 2009 07:37:41 +0000 (09:37 +0200)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 12 Feb 2010 17:59:15 +0000 (17:59 +0000)
lib/bb/parse/ast.py

index a995b9d3ed296a974bc2aa12325feb2cd5452fce..f587c6cbd66075185d824f7dbea46af71522b1fb 100644 (file)
@@ -131,8 +131,7 @@ def handleInclude(statements, m, fn, lineno, data, force):
 def handleExport(statements, m, data):
     # AST handling
     statements.append(ExportNode(m.group(1)))
-
-    bb.data.setVarFlag(m.group(1), "export", 1, data)
+    statements[-1].eval(data)
 
 def handleData(statements, groupd, data):
     # AST handling