nielsAD / lape

Scripting engine with Pascal-like syntax for FPC and Delphi
118 stars 28 forks source link

`Continue` outside a loop | Access Violation #115

Closed slackydev closed 6 years ago

slackydev commented 6 years ago

Continue as well, like break has no check verify if it's within a loop:

program new;
begin
  continue;
end. 

PS: Unlike as the other thread says, both are compile time errors. Just unhandled ones.

https://github.com/nielsAD/lape/issues/114

nielsAD commented 6 years ago

Thanks!