Path: utzoo!attcan!uunet!ginosko!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!agate!shelby!portia!vera From: vera@portia.Stanford.EDU (James Vera) Newsgroups: comp.protocols.iso Subject: Re: ASN.1 question Message-ID: <4613@portia.Stanford.EDU> Date: 18 Aug 89 05:15:24 GMT References: <4509@portia.Stanford.EDU> <5560033@hpindda.HP.COM> Sender: James VeraReply-To: vera@Portia.Stanford.EDU (James Vera) Organization: Stanford University Lines: 28 In article <5560033@hpindda.HP.COM> khiem@hpindda.HP.COM (Khiem Ho) writes: >At the first glance, there seems to be something wrong with >your compiler: those two above should be the same. a, b are >just optional identifiers, and it shouldn't make any difference >whether they are present or not. Well, actually identifiers are sometimes necessary in order to avoid ambiguity in the value syntax. For instance, in X ::= SET { a [0] INTEGER, b [1] INTEGER} the identifiers are necessary in order to distinguish {a 5, b 4} from {b 5, a 4} [I think that's value syntax]. Still, in my case it appears to me that the compiler is alternately trying to distinguish the value syntax or the presentation syntax which makes no sense to me. -- James S. Vera | Internet |Standard Disclaimers Stanford University| vera@portia.stanford.edu |Blah Blah Blah Blah Bellcore |vera2@rigel.cc.bellcore.com|vvv My Cutesy Quote vvv "When I was young it seemed that life was so wonderful..." - Supertramp