Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions javascript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ function parse(text) {
}
else {
if(m[7] === undefined && m[8] === undefined) {
if (i + 1 >= j) {
throw new SyntaxError("VDF.parse: un-closed quotes at end of file");
}
line += "\n" + lines[++i];
continue;
}
Expand Down
2 changes: 1 addition & 1 deletion javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Rossen Georgiev <hello@rgp.io>",
"name": "simple-vdf",
"description": "Package for (de)serialization of Valve's KeyValue format (VDF)",
"version": "1.1.1",
"version": "1.1.2",
"license": "MIT",
"homepage": "https://github.com/rossengeorgiev/vdf-parser",
"readmeFilename": "README.md",
Expand Down