Don't use "this" inside peg.generate
This change makes it possible to use "generate" as a module function, e.g. like this: var generate = require("pegjs").generate; var parser = generate(...); Fixes #433.redux
parent
65550965c6
commit
6aa956452e
Loading…
Reference in New Issue