Skip to content

Commit

Permalink
Do not suppress EOF.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpfs committed Mar 17, 2016
1 parent d63b924 commit 691876a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,8 @@ or wrap the file in a fenced code block.

MIT

Generated by [mkdoc](https://github.com/mkdoc/mkdoc).

[mkdoc]: https://github.com/mkdoc/mkdoc
[mkparse]: https://github.com/mkdoc/mkparse
[node]: http://nodejs.org
Expand Down
2 changes: 1 addition & 1 deletion lib/include.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function include(cb) {
// must re-parse included files so that
// processing instructions in the includes
// works as expected
var walk = new Walk({eof: false})
var walk = new Walk()
, pi = new Parser(options);

walk.pipe(pi);
Expand Down
2 changes: 1 addition & 1 deletion lib/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function parser(chunk, encoding, cb) {
return cb();
}

writer = state.writer = new Walk({eof: false})
writer = state.writer = new Walk()

writer.on('data', function(buf) {
state.serializer.write(buf);
Expand Down

0 comments on commit 691876a

Please sign in to comment.