Waldek Hebisch wrote:
The grammar in the standard (as noted in other posts) do not accept packed on subranges, so program containing such constuct is non-conformat. Of course accepting packed on subranges is a valid extension, but any compiler with grammar taken from standard will recect it. In fact, I think that in strict ISO mode (--pedantic ??) gpc should reject non-conformat programs, so also packed on subranges.
And that's what it does (with any dialect switch except `--gnu-pascal', and with `--pedantic'). Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: 51FF C1F0 1A77 C6C2 4482 4DDC 117A 9773 7F88 1707