remove dead connections as early as possible
[tridge/waf-svn.git/.git] / docs / book / tasks.txt
index f9c49b034af16d2eeaf74316e61083f0a8451592..78d379f2ed0a0b2e2ae782f7bdc1f7d4726c7d55 100644 (file)
@@ -187,12 +187,12 @@ Another way to force the order is by declaring lists of abstract symbols on the
 ---------------
 from waflib.Task import TaskBase
 class task_test_a(TaskBase):
-    ext_in  = ['.c']
+    ext_in  = ['.h']
 class task_test_b(TaskBase):
-    ext_out = ['.c']
+    ext_out = ['.h']
 ---------------
 
-The 'extensions' ext_in and ext_out have to match to add a valid precedence constraint, but they are only symbols in this context. They do not mean the tasks actually have to produce files of that type.
+The 'extensions' ext_in and ext_out do not mean that the tasks have to produce files with such extensions, but are mere symbols for use as precedence constraints.
 
 ===== Order extraction