|
@@ -2728,6 +2728,12 @@ begin
|
|
CreateBlock(CurBlock.AddWhileDo(Condition));
|
|
CreateBlock(CurBlock.AddWhileDo(Condition));
|
|
ExpectToken(tkdo);
|
|
ExpectToken(tkdo);
|
|
end;
|
|
end;
|
|
|
|
+ tkgoto:
|
|
|
|
+ begin
|
|
|
|
+ nexttoken;
|
|
|
|
+ curblock.AddCommand('goto '+curtokenstring);
|
|
|
|
+ expecttoken(tkSemiColon);
|
|
|
|
+ end;
|
|
tkfor:
|
|
tkfor:
|
|
begin
|
|
begin
|
|
// for VarName := StartValue to EndValue do
|
|
// for VarName := StartValue to EndValue do
|