From 8ba5114adf90bf6648e68317f3b2f8fad8ee2c31 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Thu, 11 Jun 2020 08:50:38 -0700 Subject: [PATCH] docs: Highlight the fact that extra syntax isn't supported --- docs/syntax.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/syntax.md b/docs/syntax.md index 328b082..b861481 100644 --- a/docs/syntax.md +++ b/docs/syntax.md @@ -18,15 +18,15 @@ local function tree_insert(tree, x) end ``` -Note that future versions of Lua extend the Lua 5.1 syntax with the following features: +Note that future versions of Lua extend the Lua 5.1 syntax with the following features; with the exception of the string literals, these are **not** supported by Luau: - hexadecimal (\\0x), Unicode (\\u) and \\z escapes for string literals -- goto statements +- goto statements and labels - bitwise operators - floor division operator (//) - \ and \ local attributes -Luau implements the string literal extensions, but no other features; for details please refer to [compatibility section](compatibility.md). +> For details please refer to [compatibility section](compatibility.md). The rest of this document documents additional syntax used in Luau.