fixed: the exception for if-index in pattern (when caching is used)
git-svn-id: svn://ttmath.org/publicrep/ezc/trunk@332 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
parent
fd2194623a
commit
3c85fa1a75
|
@ -36,8 +36,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef headerfile_ezc_info
|
#ifndef headerfile_ezc_funinfo
|
||||||
#define headerfile_ezc_info
|
#define headerfile_ezc_funinfo
|
||||||
|
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
|
@ -217,6 +217,9 @@ private:
|
||||||
{
|
{
|
||||||
typename Functions<StreamType>::Function * ezc_fun;
|
typename Functions<StreamType>::Function * ezc_fun;
|
||||||
|
|
||||||
|
// one exception (if_index is putting its argument on the functions stack)
|
||||||
|
if( item.type != Item::item_ifindex )
|
||||||
|
{
|
||||||
for(size_t f=0; f < item.functions.size() ; ++f)
|
for(size_t f=0; f < item.functions.size() ; ++f)
|
||||||
{
|
{
|
||||||
if( fun.Find(item.functions[f].name, &ezc_fun) )
|
if( fun.Find(item.functions[f].name, &ezc_fun) )
|
||||||
|
@ -231,10 +234,7 @@ private:
|
||||||
log << log1 << "Ezc: unknown function: " << item.functions[f].name << logend;
|
log << log1 << "Ezc: unknown function: " << item.functions[f].name << logend;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// one exception (if_index is putting its argument on the functions stack)
|
|
||||||
if( item.type == Item::item_ifindex )
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for(size_t i=0; i < item.item_tab.size() ; ++i)
|
for(size_t i=0; i < item.item_tab.size() ; ++i)
|
||||||
|
|
Loading…
Reference in New Issue