nielsAD / lape

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

Explicitly scoped enums #176

Closed ollydev closed 2 years ago

ollydev commented 2 years ago

Added enum keyword so that

EScopedEnum = enum(testA, testB);

Is equal to:

{$scopedenums on}
EScopedEnum = (testA, testB);
{$scopedenums off}