better errors for keys without values

This commit is contained in:
Robin Appelman 2023-12-15 17:48:56 +01:00
commit 9c06896b34
8 changed files with 191 additions and 6 deletions

View file

@ -9,4 +9,6 @@
array 2
array "3"
windows_path "C:\test\no newline"
\\"$translucent" 1 // this is read vdf written by real valve developers
}

View file

@ -5,6 +5,7 @@ expression: parsed
Table({
"#base": Statement(Statement("panelBase.res")),
"Resource/specificPanel.res": Table(Table({
"\\\"$translucent\"": Value(Value("1")),
"array": Array(Array([
Value(Value("1")),
Value(Value("2")),