[Gridflow-cvs] [svn] commit: r5238 - /trunk/doc/find_missing.rb

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sun Mar 28 14:43:52 EDT 2010


Author: matju
Date: Sun Mar 28 14:43:52 2010
New Revision: 5238

Log:
correctly find the [doc_...] fake-boxes in index.pd

Modified:
    trunk/doc/find_missing.rb

Modified: trunk/doc/find_missing.rb
==============================================================================
--- trunk/doc/find_missing.rb (original)
+++ trunk/doc/find_missing.rb Sun Mar 28 14:43:52 2010
@@ -13,6 +13,7 @@
   inv0x2a
   inv0x2b
   gf/mouse_spy_proxy
+  #io.libv4l
 ].split(/\s+/)
 
 b=Dir["../abstractions/*.pd"].map{|x|
@@ -27,8 +28,8 @@
 d=[]
 File.open("index.pd") {|f|
   f.each {|line|
-    m=/obj -?\d+ -?\d+ ([^ ;]+)/.match(line)
-    d<<m[1] if m
+    m= /obj -?\d+ -?\d+ ([^ ;]+)/      .match(line); d<<m[1] if m
+    m=/text -?\d+ -?\d+ \[([^ \];]+)\]/.match(line); d<<m[1] if m
   }
 }
 



More information about the Gridflow-cvs mailing list