From fcb3fd7546dff16265151239ffe675928d1effd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Br=C3=A1ulio=20Bezerra?= Date: Sat, 22 Jul 2017 11:01:18 -0300 Subject: [PATCH 1/2] Added identifiers' grammar --- src/identifiers.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/identifiers.md b/src/identifiers.md index 3cb80aba4..3f11b4dd4 100644 --- a/src/identifiers.md +++ b/src/identifiers.md @@ -1,5 +1,10 @@ # Identifiers +> **Lexer:** +> IDENTIFIER : +>       XID_start XID_continue\* +>    | `_` XID_continue+ + An identifier is any nonempty Unicode[^non_ascii_idents] string of the following form: Either From a917a93191f7a220fb4492f6c7fc89c62626b3f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Br=C3=A1ulio=20Bezerra?= Date: Mon, 24 Jul 2017 21:11:22 -0300 Subject: [PATCH 2/2] Grammar of identifiers: correct link to keywords page --- src/identifiers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/identifiers.md b/src/identifiers.md index 3f11b4dd4..f6d2a8fb8 100644 --- a/src/identifiers.md +++ b/src/identifiers.md @@ -28,6 +28,6 @@ that does _not_ occur in the set of [keywords]. [`XID_start`]: http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5B%3AXID_Start%3A%5D&abb=on&g=&i= [`XID_continue`]: http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5B%3AXID_Continue%3A%5D&abb=on&g=&i= -[keywords]: ../grammar.html#keywords +[keywords]: keywords.html [^non_ascii_idents]: Non-ASCII characters in identifiers are currently feature gated. This is expected to improve soon.