IntegerLiteral not specified

Topics: Language Specification
Feb 28, 2014 at 7:03 AM
Hello,

the grammar requires an IntegerLiteral.

ConstantEnumMemberSection:
PropertyName = IntegerLiteral
PropertyName = IntegerLiteral , ConstantEnumMembers

AmbientEnumMember:
PropertyName
PropertyName = IntegerLiteral

However IngegerLiteral is not specified, I couldn't find it in the referenced ECMA spec either.
The open source parser parses a value?

Is the following rule missing?

IntegerLiteral
: DecimalIntegerLiteral
| HexIntegerLiteral
;


Best Regards,
Bernhard
Developer
Feb 28, 2014 at 5:15 PM
Edited Feb 28, 2014 at 5:21 PM
Good catch, this discussion has been copied to a work item. Click here to go to the work item and continue the discussion.