From 0285af245aaf649c0528575ff7bd03838b31c743 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 15 Jan 2015 17:27:53 -0800 Subject: Implement new rules for bare key names * Key names are restricted to [a-zA-Z0-9_-] * Equal signs must be on the same line (as must the next value) as the key * Quoted keys are allowed and are parsed as basic strings. Closes #48 --- tests/valid/key-with-pound.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/valid/key-with-pound.toml') diff --git a/tests/valid/key-with-pound.toml b/tests/valid/key-with-pound.toml index 1c54f53..65b766f 100644 --- a/tests/valid/key-with-pound.toml +++ b/tests/valid/key-with-pound.toml @@ -1 +1 @@ -key#name = 5 +"key#name" = 5 -- cgit v1.2.3