From 3f739cad4293534cd1aec4328dae73efd75a0151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Tue, 31 Aug 2021 20:09:45 -0700 Subject: [PATCH] make / illegal in identifiers Fixes: https://github.com/kdl-org/kdl/issues/75 --- SPEC.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SPEC.md b/SPEC.md index a7388f0..ecea2d6 100644 --- a/SPEC.md +++ b/SPEC.md @@ -100,7 +100,7 @@ The following characters cannot be used anywhere in a bare * Any codepoint with hexadecimal value `0x20` or below. * Any codepoint with hexadecimal value higher than `0x10FFFF`. -* Any of "\\<>{};[]()=,\"" +* Any of "\\/<>{};[]()=,\"" ### Line Continuation @@ -313,7 +313,7 @@ node-terminator := single-line-comment | newline | ';' | eof identifier := string | bare-identifier bare-identifier := (identifier-char - digit - sign) identifier-char* | sign ((identifier-char - digit) identifier-char*)? -identifier-char := unicode - linespace - [\(){}<>;[]=,"] +identifier-char := unicode - linespace - [\/(){}<>;[]=,"] prop := identifier '=' value value := string | number | boolean | 'null'