removed: statements: [if-index ...] [is ...] and [is-no ...]
we can provide a user definied function which does the same added: to FunInfo<>: Stack * stack_tab size_t stack_index a stack table and an index to the current stack item git-svn-id: svn://ttmath.org/publicrep/ezc/trunk@988 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -61,17 +61,11 @@ void Cache(Blocks & blocks, Item::Function & function)
|
||||
}
|
||||
|
||||
|
||||
|
||||
void Cache(Blocks & blocks, Item & item)
|
||||
{
|
||||
// one exception (if_index is putting its argument on the functions stack)
|
||||
/*
|
||||
!! IMPROVE ME we need to change the parser and the index take as a string
|
||||
*/
|
||||
if( item.type != Item::item_ifindex )
|
||||
{
|
||||
for(size_t f=0; f < item.functions.size() ; ++f)
|
||||
Cache(blocks, item.functions[f]);
|
||||
}
|
||||
for(size_t f=0; f < item.functions.size() ; ++f)
|
||||
Cache(blocks, item.functions[f]);
|
||||
|
||||
for(size_t i=0; i < item.item_tab.size() ; ++i)
|
||||
Cache(blocks, *item.item_tab[i]);
|
||||
|
Reference in New Issue
Block a user