Re: 10206 lexical ambiguity

Peter <[email protected]> Mon, 23 Jan 2017 20:51:55 +0000
Newsgroups gmane.comp.compilers.gpc
Message-ID <[email protected]>
On 20/01/17 16:14, Paul Isaacs wrote:

> ...
> The first identifier of the
> enumeration will always be undefined. Any subrange identifier must have
> been defined previously.
> ...

Only for correct programs!  A missing, or extra definition is a much
more likely mistake, than getting the grammar for sub-ranges or
enumerations wrong. the error messages produced this way might be a bit
confusing ;-)


Regards,
Peter


_______________________________________________
Gpc mailing list
[email protected]
https://www.g-n-u.de/mailman/listinfo/gpc