We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9951fa commit bac774dCopy full SHA for bac774d
docs/docs/internals/syntax.md
@@ -40,12 +40,11 @@ id ::= plainid
40
| INT // interpolation id, only for quasi-quotes
41
idrest ::= {letter | digit} [‘_’ op]
42
43
-integerLiteral ::= (decimalNumeral | hexNumera) [‘L’ | ‘l’]
+integerLiteral ::= (decimalNumeral | hexNumeral) [‘L’ | ‘l’]
44
decimalNumeral ::= ‘0’ | nonZeroDigit {digit}
45
-hexNumeral ::= ‘0’ ‘x’ hexDigit {hexDigit}
+hexNumeral ::= ‘0’ (‘x’ | ‘X’) hexDigit {hexDigit}
46
digit ::= ‘0’ | nonZeroDigit
47
nonZeroDigit ::= ‘1’ | … | ‘9’
48
-octalDigit ::= ‘0’ | … | ‘7’
49
50
floatingPointLiteral
51
::= digit {digit} ‘.’ {digit} [exponentPart] [floatType]
0 commit comments