updated: to the new Ezc API
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@974 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -96,8 +96,18 @@ void PatternCacher::DeleteOldPatterns()
|
||||
|
||||
void PatternCacher::CreatePattern(const Item & item, Ezc::Pattern & pattern)
|
||||
{
|
||||
pattern.AllowInclude(false);
|
||||
pattern.ParseString(item.content);
|
||||
/*
|
||||
* CHECK ME
|
||||
* check the rest flags from pattern_parser
|
||||
* if the default values are correct
|
||||
*
|
||||
* IMPROVE ME
|
||||
* we can add blocks and variables
|
||||
*
|
||||
* add caching of blocks
|
||||
*/
|
||||
pattern_parser.AllowInclude(false);
|
||||
pattern_parser.ParseString(item.content, pattern);
|
||||
|
||||
if( ezc_fun )
|
||||
pattern.CacheFunctions(*ezc_fun);
|
||||
|
Reference in New Issue
Block a user