From: Howard T. <how...@di...> - 2007-08-22 12:59:23
|
Ah yes, of course .... I hadn't noticed that class. Thanks. On Wednesday 22 August 2007 13:53, you wrote: > Howard Thomson wrote: > > The problem with ET_AST_ITERATOR.process_features was that the > > feature_clause attribute was Void for the queries and procedures being > > processed and therefore not matching the current feature_clause. > > > > In the parsing process, the current feature is passed as an argument to > > the new_do_procedure / new_do_function etc routines in ET_AST_FACTORY but > > are not used in those routines to do set_feature_clause for that > > argument. > > > > Having added Result.set_feature_clause to the relevant 8 routines of > > ET_AST_FACTORY, I am now getting features processed. > > You should not do that, but use ET_DECORATED_AST_FACTORY instead. > This is what is done in $GOBO/test/tools and in > $GOBO/example/tools/bang2create. -- Howard Thomson -- "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." -- Albert Einstein |