You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is some sort of bug in the parser when an empty object is set inside a single cson file
works:
empty object normal comment
# test
{}
empty object without block comment
{}
top level object is not empty
#### test###EN: {}
fails:
#### test###
{}
Console output
SyntaxError: Syntax error on line 1, column 1: One top level value expected
at nodeTransforms.Block (/node_modules/cson-parser/lib/parse.js:82:15)
at transformNode (/node_modules/cson-parser/lib/parse.js:207:12)
at Object.parse (/node_modules/cson-parser/lib/parse.js:213:12)
The text was updated successfully, but these errors were encountered:
aaarichter
changed the title
Bug: empty object and JSDOC style commenting
Bug: empty object and block commenting
Feb 27, 2016
There is some sort of bug in the parser when an empty object is set inside a single cson file
works:
empty object normal comment
# test {}
empty object without block comment
top level object is not empty
fails:
Console output
The text was updated successfully, but these errors were encountered: