Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r31 - trunk

genelib
Discussion topic

Back to topic list

svn commit: r31 - trunk

Author lotec
Full name Jan Bogaerts
Date 2006-03-22 06:38:40 PST
Message Author: lotec
Date: Wed Mar 22 06:38:39 2006
New Revision: 31

Modified:
   trunk/BaseStore.gen
Log:
basestore now also uses yield in the code

Modified: trunk/BaseStore.gen
Url: http://genelib.tigri​s.org/source/browse/​genelib/trunk/BaseSt​ore.gen?view=diff​&rev=31&p1=trun​k/BaseStore.gen&​r1=30&p2=trunk/B​aseStore.gen&r2=​31
====================​====================​====================​==================
--- trunk/BaseStore.gen (original)
+++ trunk/BaseStore.gen Wed Mar 22 06:38:39 2006
@@ -100,7 +100,7 @@
    iIntLoopItem: sLinkedListItem^
    iIntLoopItem = FirstItem
    {<-iIntLoopItem <>nil->
- inherited(pointer(iI​ntLoopItem))
+ yield(pointer(iIntLoopItem))
       iIntLoopItem = iIntLoopItem.NextItem
    }
 ;
@@ -307,7 +307,7 @@
    iStackLoopItem: sStackItem^
    iStackLoopItem = LastItem
    {<-iStackLoopItem <>nil->
- inherited(pointer(iS​tackLoopItem))
+ yield(pointer(iStackLoopItem))
       iStackLoopItem = iStackLoopItem.PrevItem
    }
 ;
@@ -471,7 +471,7 @@
    iQueueLoopItem: sQueueItem^
    iQueueLoopItem = FirstItem
    {<-iQueueLoopItem <>nil->
- inherited(pointer(iQ​ueueLoopItem))
+ yield(pointer(iQueueLoopItem))
       iQueueLoopItem = iQueueLoopItem.NextItem
    }
 ;
@@ -801,7 +801,7 @@
          iArrayLoopEl: pointer
          iArrayLoopEl = SpaceData.Data
          {<-iArrayCounter: dword = 0\ iArrayCounter < SpaceData.RecCount\ iArrayCounter += 1->
- inherited(iArrayLoopEl)
+ yield(iArrayLoopEl)
             int(iArrayLoopEl) += aSize
          }
       ]
@@ -882,7 +882,7 @@
 =
    [<-Values <> nil->
       {<-i: dword = 0 \ i < RecCount \ i+=1->
- inherited(pointer( int(Values) + (aSize * i)))
+ yield(pointer( int(Values) + (aSize * i)))
       }
    ]
 ;

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r31 - trunk lotec Jan Bogaerts 2006-03-22 06:38:40 PST
Messages per page: