ghkweon / dwscript

Automatically exported from code.google.com/p/dwscript
0 stars 0 forks source link

Parser does not recognize set constant syntax #483

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
type TMyEnum = (first, second, third, fourth, fifth);
type TMySet = set of TMyEnum;
var mySet: TMySet := [first..fourth]; //error here

Original issue reported on code.google.com by masonwhe...@gmail.com on 30 Jul 2014 at 11:08

GoogleCodeExporter commented 8 years ago

Original comment by zar...@gmail.com on 4 Aug 2014 at 10:28

GoogleCodeExporter commented 8 years ago

Original comment by zar...@gmail.com on 4 Aug 2014 at 10:29

GoogleCodeExporter commented 8 years ago
Support added, also works for array constants.

Original comment by zar...@gmail.com on 4 Aug 2014 at 1:26