Issue 641: Do identifiers and keywords clash if they differ in case? (orb_revision) Source: (, ) Nature: Uncategorized Severity: Summary: Summary: Section 3.2.3 and 3.2.4: It"s not said explicitly that an identifier may not differ from a keyword only in case since it differs only in case from a keyword Resolution: Fixed in 2.2+, Close Revised Text: Actions taken: July 30, 1997: received issue June 25, 1998: closed issue February 23, 1999: closed issue Discussion: closed issue End of Annotations:===== Return-Path: X-Sender: andrew@emerald.omg.org Date: Wed, 30 Jul 1997 19:49:06 -0400 To: juergen@omg.org From: Andrew Watson Subject: Please register this as an issue - thanks. Cc: David Curtis Specification: CORBA 2.0, July 1996 Section/Page: 3.2.3 and 3.2.4 (pages 3-5, 3-6) Summary: Do identifiers & keywords clash if they differ in case? Issue: Section 3.2.3 says: Identifiers that differ only in case collide and yield a compilation error. An identifier for a definition must be spelled consistently (with respect to case) throughout a specification. When comparing two identifiers to see if they collide: * Upper- and lower-case letters are treated as the same letter. 3.2.4 says: The identifiers listed in Figure 6 on page 3-6 are reserved for use as keywords, and may not be used otherwise. Keywords obey the rules for identifiers (see Section 3.2.3) and must be written exactly as shown in the above list. For example, "boolean" is correct; "Boolean" produces a compilation error. It is not said explicitly (but I imagine is intended) that an identifier may not differ from a keyword only in case - i.e. that "Boolean" would *not* be a valid identifier, since it differs only in case from a keyword.