/[publicrep]
ViewVC logotype

Revision 1038


Jump to revision: Previous Next
Author: tomek
Date: Mon Apr 4 15:53:11 2016 UTC (6 years, 10 months ago)
Changed paths: 6
Log Message:
changed: a function can have a postfix now e.g. [my_function:my_postfix]
this will be mainly used in conjuction with [for ...] statements

[for my_function:xxx]
  [for my_function]
    [my_function_value]
    [my_function_valu:xxx] (references the first loop)
  [end]
[end]

added: to FunInfo<>: a reference to current item from a pattern (const Item & item)
       similary on the stack is added a pointer to an item
       by having this reference you can compare a function's name and its postfix
       added methods:
       Stack * FindLastFor(const std::wstring & name);
       Stack * FindLastFor(const std::wstring & name, const std::wstring & postfix);
       template<class FunUserObject> FunUserObject * FindUserObject(const std::wstring & function_name, Stack ** ezc_stack = 0);




Changed paths

Path Details
Directoryezc/trunk/COPYRIGHT modified , text changed
Directoryezc/trunk/src/funinfo.h modified , text changed
Directoryezc/trunk/src/generator.h modified , text changed
Directoryezc/trunk/src/item.h modified , text changed
Directoryezc/trunk/src/patternparser.cpp modified , text changed
Directoryezc/trunk/src/patternparser.h modified , text changed

svnadmin@ttmath.org
ViewVC Help
Powered by ViewVC 1.2.1