From 073419ed3f8b70456a6a09173e9baed791ec00d9 Mon Sep 17 00:00:00 2001 From: Ye Xianjin Date: Sun, 30 Nov 2014 00:45:12 +0800 Subject: add 0X...hex number literal in syntax summary --- spec/13-syntax-summary.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/13-syntax-summary.md b/spec/13-syntax-summary.md index ae941f189e..2b9571cc73 100644 --- a/spec/13-syntax-summary.md +++ b/spec/13-syntax-summary.md @@ -41,7 +41,7 @@ idrest ::= {letter | digit} [‘_’ op] integerLiteral ::= (decimalNumeral | hexNumeral) [‘L’ | ‘l’] decimalNumeral ::= ‘0’ | nonZeroDigit {digit} -hexNumeral ::= ‘0’ ‘x’ hexDigit {hexDigit} +hexNumeral ::= ‘0’ (‘x’ | ‘X’) hexDigit {hexDigit} digit ::= ‘0’ | nonZeroDigit nonZeroDigit ::= ‘1’ | … | ‘9’ -- cgit v1.2.3