On Mon, 31 Jan 2011 23:35:11 +0100, Mattias Gaertner <[email protected]> wrote:
  if AUnit <> CachedUnit then
  begin

Maybe the above if is the cause. Remove it.

I found the problem. The line and column number were switched. Therefore CleanPos was bogus.

Now one last problem, how to find the method name? ProcNode.DescAsString allways gves me "Procedure". Do I need to search for another NodeType or use some other method of TCodeTreeNode?

Regards, Darius

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to