diff -r 55b49cc1f33a -r fcf13e40d6b6 tools/PascalUnitSyntaxTree.hs --- a/tools/PascalUnitSyntaxTree.hs Wed Jul 25 10:56:14 2012 -0400 +++ b/tools/PascalUnitSyntaxTree.hs Wed Jul 25 10:57:00 2012 -0400 @@ -7,6 +7,7 @@ Program Identifier Implementation Phrase | Unit Identifier Interface Implementation (Maybe Initialize) (Maybe Finalize) | System [TypeVarDeclaration] + | Redo [TypeVarDeclaration] deriving Show data Interface = Interface Uses TypesAndVars deriving Show @@ -48,7 +49,7 @@ | IfThenElse Expression Phrase (Maybe Phrase) | WhileCycle Expression Phrase | RepeatCycle Expression [Phrase] - | ForCycle Identifier Expression Expression Phrase + | ForCycle Identifier Expression Expression Phrase Bool -- The last Boolean indicates wether it's up or down counting | WithBlock Reference Phrase | Phrases [Phrase] | SwitchCase Expression [([InitExpression], Phrase)] (Maybe [Phrase])