Whitedoc/Michelson: minor improvements

This commit is contained in:
Raphaël Proust 2018-05-30 16:11:47 +08:00
parent a8e607a5a9
commit 17457ef0a3

View File

@ -1688,14 +1688,14 @@ Constants
There are two kinds of constants: There are two kinds of constants:
1. Integers or naturals in decimal (no prefix), hexadecimal (0x prefix), 1. Integers or naturals in decimal (no prefix), hexadecimal (``0x`` prefix),
octal (0o prefix) or binary (0b prefix). octal (``0o`` prefix) or binary (``0b`` prefix).
2. Strings, with usual escape sequences: ``\n``, ``\t``, ``\b``, 2. Strings, with usual escape sequences: ``\n``, ``\t``, ``\b``,
``\r``, ``\\``, ``\"``. Unescaped line breaks (both ``\n`` and ``\r``) ``\r``, ``\\``, ``\"``. Unescaped line-breaks (both ``\n`` and ``\r``)
cannot appear in the middle of a string. cannot appear in the middle of a string.
The current version of Michelson restricts strings to be the printable The current version of Michelson restricts strings to be the printable
subset of 7-bit ASCII, plus the line break ``\n``. subset of 7-bit ASCII, plus the escaped characters mentioned above.
Primitive applications Primitive applications
~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~