On Tue, Oct 05, 2004 at 11:11:22AM +0200, Ralf Stephan wrote: > ex e = x - 2; > CollectSymbols_Visitor collector; > e.accept (collector); accept method does not traverse expression, it examines the node itself only. Use e.traverse(collector); instead. Best regards, Alexei.