Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Oct 17, 2022
1 parent b2db900 commit fc24636
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ export function parseStringSync(
directiveCallback: options.parseDirectives ? push : undefined,
commentCallback: options.parseComments ? push : undefined,
sequenceCallback: options.parseSequences ? push : undefined,
disableDerivesFromReferences: options.disableDerivesFromReferences || false,
bufferSize: Infinity,
errorCallback: (err) => {
throw err
Expand Down
1 change: 1 addition & 0 deletions src/parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export default class Parser {
this.sequenceCallback = args.sequenceCallback || nullFunc
this.disableDerivesFromReferences =
args.disableDerivesFromReferences || false
console.log('here', args)

// number of lines to buffer
this.bufferSize = args.bufferSize === undefined ? 1000 : args.bufferSize
Expand Down

0 comments on commit fc24636

Please sign in to comment.