Scans a number literal.
$(BNF /IntegerLiteral := (Dec | Hex | Bin | Oct) Suffix? /Dec := "0" | [1-9] [\d_]* /Hex := "0" [xX] "_"* HexDigits /Bin := "0" [bB] "_"* [01] [01_]* /Oct := "0" [0-7_]* /Suffix := "L" [uU]? | [uU] "L"? /) Invalid: "0b_", "0x_", "._" etc.
See Implementation
Scans a number literal.
$(BNF /IntegerLiteral := (Dec | Hex | Bin | Oct) Suffix? /Dec := "0" | [1-9] [\d_]* /Hex := "0" [xX] "_"* HexDigits /Bin := "0" [bB] "_"* [01] [01_]* /Oct := "0" [0-7_]* /Suffix := "L" [uU]? | [uU] "L"? /) Invalid: "0b_", "0x_", "._" etc.