diff python/zcc.py @ 355:c2ddc8a36f5e

Enabled optimization
author Windel Bouwman
date Fri, 14 Mar 2014 10:30:13 +0100
parents 442fb043d149
children 39bf68bf1891
line wrap: on
line diff
--- a/python/zcc.py	Thu Mar 13 18:59:06 2014 +0100
+++ b/python/zcc.py	Fri Mar 14 10:30:13 2014 +0100
@@ -70,8 +70,8 @@
         output = ObjectFile()
         runner.add_task(Compile(args.source, args.imp, tg, output))
     elif args.command == 'recipe':
-        recipe_loader = RecipeLoader()
-        recipe_loader.load_file(args.recipe_file, runner)
+        recipe_loader = RecipeLoader(runner)
+        recipe_loader.load_file(args.recipe_file)
     else:
         raise NotImplementedError('Invalid option')