WG15 Defect Report Ref: 9945-2-111
Topic: yacc


This is an approved interpretation of 9945-2:1993.

.

Last update: 1997-05-20


								9945-2-111

 _____________________________________________________________________________

	Topic:                  yacc
	Relevant Sections:      A.3.7.4

Defect Report:
-----------------------

	Date: Thu, 20 Apr 1995 08:49:56 -0400
	From: "David J. Fiander" <[email protected]>

Sirs,

I request an interpretation of ISO/IEC 9945-2:1993, section
A.3.7.4: yacc, Interface the the Lexical Analyzer.

Lines 1133-1134 state that "All assigned token numer shall be
unique and distinct from the token numbers used for literals."
Historically, this uniqueness has only been guaranteed among the
token numbers assigned by yacc;  it was possible for
yacc-assigned token numbers to have the same value as
user-assigned token numbers.  My question is, should the above
quotation from the standard be taken to mean that YACC-assigned
token numbers are unique among themselves, or across all token
numbers, including user-assigned ones?




Interpretation response
------------------------
The standard is unclear on this issue, and no conformance distinction can
be made between alternative implementations based on this.  This is being
referred to the sponsor.


Rationale:
None

Forwarded to Interpretations group: Apr 20 1995
Proposed resolution circulated: May 16th
Comments due: June 15th
Finalised: June 16th 1995