ViewVC logotype

Revision 391

Jump to revision: Previous Next
Author: tomek
Date: Fri Feb 24 12:04:36 2012 UTC (10 years, 11 months ago)
Changed paths: 2
Log Message:
added:   FunInfo<>::fun_data
         now we have a pointer to FunData struct
         by default the pointer is null
         you can create an object of a class derived from FunData
         an set the pointer to the object
         those pointers will be kept on the [for] stack
         and will be auto removed
         (not finished yet -- need some testing)
added:   to FunInfo<>::
         bool is_if;
         bool is_is;
         bool is_normal;
         bool is_filter;
removed: from FunInfo<>:
         bool is_for_first_iter;
changed: in FunInfo<>:
         int iter -> size_t iter
         now it indicates the number of a current iteration for the [for] statement 
         for other statements than [for] this is always zero
         (the same old behaviour as before revision 331)
added:   in FunInfo<>:
         size_t last_iter
         it indicates the number of a previous [for] iteration
         for a [for] it returns not the current iterator but a value from a previous [for]

Changed paths

Path Details
Directoryezc/trunk/src/funinfo.h modified , text changed
Directoryezc/trunk/src/generator.h modified , text changed

ViewVC Help
Powered by ViewVC 1.2.1