metadevpro/ts-pegjs

Compiler pass incompatibility with upcoming pegjs 0.11

lindner opened this issue · 4 comments

It appears that pegjs changed their API for compiler passes

  // pegjs 0.10  api pass(ast, options)
  // pegjs 0.11+ api pass(ast, config, options);

It should be fairly easy to special case that.

Thanks. Good point.
However v. 0.11 is not yet published as stable in npmjs, but as dev release.
Therefore I will stick to 0.10 as stable version and incorporate your change when 0.11 is marked as stable.
Works for you @lindner in the meantime?

Oh I see. Then, agreed to merge it right now.

Merged and published as version: ts-pegjs@0.2.4