10206 lexical ambiguity

Paul Isaacs <[email protected]> Thu, 19 Jan 2017 13:48:49 -0500
Newsgroups gmane.comp.compilers.gpc
Message-ID <[email protected]>
Hello,

Am I correct that, without semantic type tie-ins, that the production

new-ordinal-type          = enumerated-type
                                       | subrange-type
                                       ;

is ambiguous because (a) could be both an enumerated type and the 
expression for the lower bound of a subrange?

Regards,

Paul Isaacs


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