[Gridflow-cvs] [svn] commit: r3839 - /trunk/base/source_filter.rb

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Tue Jun 10 12:50:13 EDT 2008


Author: matju
Date: Tue Jun 10 12:50:13 2008
New Revision: 3839

Log:
fix previous commit

Modified:
    trunk/base/source_filter.rb

Modified: trunk/base/source_filter.rb
==============================================================================
--- trunk/base/source_filter.rb (original)
+++ trunk/base/source_filter.rb Tue Jun 10 12:50:13 2008
@@ -150,8 +150,9 @@
 	qlass = $stack[-1]
 	raise "missing \\class #{where}" if not qlass or not ClassDecl===qlass
 	classname = qlass.name
+	n = m
 	if qlass.methods[m.selector]
-		n = m; m = qlass.methods[m.selector]
+		m = qlass.methods[m.selector]
 		if !m===n then
 			STDERR.puts "ERROR: def does not match decl:"
 			STDERR.puts "#{m.where}: \\decl #{m.inspect}"
@@ -177,6 +178,7 @@
 		end
 	}
 	Out.print ");} #{m.rettype} #{classname}::#{m.selector}(VA"
+	#puts "m=#{m} n=#{n}"
 	Out.print ","+unparse_arglist(n.arglist,false) if m.arglist.length>0
 	Out.print ")#{term} "
 	qlass.methods[m.selector].done=true



More information about the Gridflow-cvs mailing list