rollup merge of #18509 : cakebaker/missing_ofs

This commit is contained in:
Alex Crichton 2014-11-02 18:45:04 -08:00
commit 67840513f4

View File

@ -400,11 +400,11 @@ An _integer literal_ has one of four forms:
* A _decimal literal_ starts with a *decimal digit* and continues with any * A _decimal literal_ starts with a *decimal digit* and continues with any
mixture of *decimal digits* and _underscores_. mixture of *decimal digits* and _underscores_.
* A _hex literal_ starts with the character sequence `U+0030` `U+0078` * A _hex literal_ starts with the character sequence `U+0030` `U+0078`
(`0x`) and continues as any mixture hex digits and underscores. (`0x`) and continues as any mixture of hex digits and underscores.
* An _octal literal_ starts with the character sequence `U+0030` `U+006F` * An _octal literal_ starts with the character sequence `U+0030` `U+006F`
(`0o`) and continues as any mixture octal digits and underscores. (`0o`) and continues as any mixture of octal digits and underscores.
* A _binary literal_ starts with the character sequence `U+0030` `U+0062` * A _binary literal_ starts with the character sequence `U+0030` `U+0062`
(`0b`) and continues as any mixture binary digits and underscores. (`0b`) and continues as any mixture of binary digits and underscores.
An integer literal may be followed (immediately, without any spaces) by an An integer literal may be followed (immediately, without any spaces) by an
_integer suffix_, which changes the type of the literal. There are two kinds of _integer suffix_, which changes the type of the literal. There are two kinds of