From 17457ef0a36ce46f9c85454d509990a9faee9bdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Proust?= Date: Wed, 30 May 2018 16:11:47 +0800 Subject: [PATCH] Whitedoc/Michelson: minor improvements --- docs/whitedoc/michelson.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/whitedoc/michelson.rst b/docs/whitedoc/michelson.rst index afac6376f..6dd539383 100644 --- a/docs/whitedoc/michelson.rst +++ b/docs/whitedoc/michelson.rst @@ -1688,14 +1688,14 @@ Constants There are two kinds of constants: -1. Integers or naturals in decimal (no prefix), hexadecimal (0x prefix), - octal (0o prefix) or binary (0b prefix). +1. Integers or naturals in decimal (no prefix), hexadecimal (``0x`` prefix), + octal (``0o`` prefix) or binary (``0b`` prefix). 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. 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 ~~~~~~~~~~~~~~~~~~~~~~