changed hcl to be more json friendly including changing various notations and grammars

This commit is contained in:
2018-04-06 08:33:25 +00:00
parent f1871fbe45
commit e41a02b957
6 changed files with 250 additions and 316 deletions

View File

@ -93,6 +93,7 @@ static char* synerrstr[] =
"out of integer range",
"wrong error literal",
"wrong smptr literal",
"wrong multi-segment identifer",
"sudden end of input",
"( expected",
@ -105,8 +106,14 @@ static char* synerrstr[] =
"byte too small or too large",
"nesting level too deep",
", expected",
"| disallowed",
". disallowed",
", disallowed",
": disallowed",
"no value after ,",
"no value after :",
"no separator between array/dictionary elements",
"#include error",
"loop body too big",