appy.pod: fixed bug https://bugs.launchpad.net/bugs/720270 (cell repetition).

This commit is contained in:
Gaetan Delannay 2011-02-18 15:58:59 +01:00
parent a8366379dd
commit 312b1f4cef
7 changed files with 586 additions and 559 deletions

View file

@ -296,6 +296,9 @@ class MemoryBuffer(Buffer):
self.elements[self.getLength()] = newElem
if isinstance(newElem, Cell) or isinstance(newElem, Table):
newElem.tableInfo = self.env.getTable()
if isinstance(newElem, Cell):
# Remember where this cell is in the table
newElem.colIndex = newElem.tableInfo.curColIndex
def addExpression(self, expression):
# Create the POD expression