diff options
Diffstat (limited to 'lib/generate/json/index.js')
-rw-r--r-- | lib/generate/json/index.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/generate/json/index.js b/lib/generate/json/index.js index 6bc5211..a252ed3 100644 --- a/lib/generate/json/index.js +++ b/lib/generate/json/index.js @@ -29,8 +29,9 @@ Generator.prototype.convertFile = function(content, input) { dir: path.dirname(input) || '/' }); }) - .then(function(sections) { - json.sections = sections; + .then(function(parsed) { + json.lexed = parsed.lexed; + json.sections = parsed.sections; }) .then(function() { return fs.writeFile( |