bugs/errors in the D BNF

BCS ao at pathlink.com
Thu Jan 11 21:26:53 PST 2007


According to the spec Invariants are allowed in modules? Is this correct.

It's a minor nitpick but a number of productions are missing the ":" after 
the name.

AsmPrimaryExp,
DebugSpecification,
DecimalExponent,
DotIdentifier,
Filespec,
FunctionLiteral
HexExponent
HexStringChar
Operands
Postfix
SingleQuotedCharacter
SpecialTokenSequence
SuperInterfaces
TemplateParameterList
VersionSpecification

A more major problem is that a number of productions are undefined. I looked 
at this a while ago and many of them are defined, but under a different name.

BaseClasslist
CatchParameter
DebugStatement
ExpressionList
FloatConstant
IdentiferChar
IdentiferStart
IntegerConstant
IntegerExpression
Invariant
LabeledStatement
NamedCharacterEntity
NumericLiteral
Register
Symbol
TemplateIdentifer
Tuple
VersionStatement

BTW it would be vary nice if all of the productions were links to there definitions.




More information about the Digitalmars-d-bugs mailing list