Re: 10206 lexical ambiguity

Bastiaan Veelo <[email protected]> Thu, 19 Jan 2017 19:57:11 +0100
Newsgroups gmane.comp.compilers.gpc
Message-ID <[email protected]>
> On 19 Jan 2017, at 19:48, Paul Isaacs <[email protected]> wrote:
> 
> 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?

Where do you see the ambiguity? enumerated-type is lexically different from subrange-type.

Bastiaan.

_______________________________________________
Gpc mailing list
[email protected]
https://www.g-n-u.de/mailman/listinfo/gpc
signature.asc (application/pgp-signature, 842 B)
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJYgQwIAAoJEKv6vZcpz/qNppUP/0/Hxs1ZkOP1ChoyoQHoLlSk
IdIC1Lgf9tWHbdLWDRLHLrxGZJcESODwS+GztBWmFXWiUDJ8QmJk6A4Y/rK6TpoP
8uXyhU4Hx3m6/s6gVL7pD83j0XoKiMCVdO7Bw5j1ryX+hoJZbO4kv9iFmlLIu2Kd
qXPQTqd8WiLqKgFIgqOC1U7n6y+szFGO4xOSm9fqCoa6DKlxoF59CrxBlRxAU4BY
A88fpI1WfvBBYMNPksvrodKo8URBxJu85F4yU2ddriuoAvBbYKxw6+W0lZzPCBge
4LDFv7AZmT4ZNy3oN9D50jCnYskyyixVpnag1IsVNchR8thb5H3tvYH3a481yWXN
pLyUp94goi0szkQuTxlR2anThORUW5aGtpZIi55WN/tipwO3G6xDv0pvLAy0CZj9
/FQrjO3xyIub/J73LnKOyXYuAaUH4PM3BNQODPUuTOhKw5aoZqI19TTydJKghy4M
dZvpuSU2p8fVL5xjPG8L44TnVWZWDY7OaYmP9XQjPFF0i9D5O8WGKUK423WqBgwA
4bIe0acI3bk9pyfADgLs42OEX7AM28jB8UMUUIi9TaZkfFPYez94RovU4Xk3GFWL
RXhi9jzegsIaTSVsI/7QGocR9vaFewwhMxc6m43MCo4JbPV9ec8S/IlmCgMU+Bzn
tBWuloT8etRHnvEUEeDF
=IyOB
-----END PGP SIGNATURE-----