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

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Wed Jul 28 23:27:38 EDT 2010


Author: matju
Date: Wed Jul 28 23:27:38 2010
New Revision: 5835

Log:
consider objects that are represented by a doc_link to them

Modified:
    trunk/doc/find_missing.rb

Modified: trunk/doc/find_missing.rb
==============================================================================
--- trunk/doc/find_missing.rb (original)
+++ trunk/doc/find_missing.rb Wed Jul 28 23:27:38 2010
@@ -35,8 +35,8 @@
 d=[]
 File.open("index.pd") {|f|
   f.each {|line|
-    m= /obj -?\d+ -?\d+ ([^ ;]+)/      .match(line); d<<m[1] if m
-    m=/text -?\d+ -?\d+ \[([^ \];]+)\]/.match(line); d<<m[1] if m
+    m= /obj -?\d+ -?\d+ doc_link ([^ ;]+)/ .match(line); if m then d<<m[1] else
+    m= /obj -?\d+ -?\d+ ([^ ;]+)/          .match(line); if m then d<<m[1] end end
   }
 }
 



More information about the Gridflow-cvs mailing list