[pod] Improved error handling. [px] More work on PX.
This commit is contained in:
parent
d5296ba321
commit
bfbf9bea82
9 changed files with 1853 additions and 1841 deletions
|
@ -459,8 +459,9 @@ class MemoryBuffer(Buffer):
|
|||
|
||||
def createPxAction(self, elem, actionType, statement):
|
||||
res = 0
|
||||
statement = statement.strip()
|
||||
if actionType == 'for':
|
||||
forRes = MemoryBuffer.forRex.match(statement.strip())
|
||||
forRes = MemoryBuffer.forRex.match(statement)
|
||||
if not forRes:
|
||||
raise ParsingError(BAD_FOR_EXPRESSION % statement)
|
||||
iter, subExpr = forRes.groups()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue