From: Eric B. <er...@go...> - 2007-08-22 12:53:05
|
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. -- Eric Bezault mailto:er...@go... http://www.gobosoft.com |