diff --git a/docs/grammar/tracer.md b/docs/grammar/tracer.md index 86f791a..60ea881 100644 --- a/docs/grammar/tracer.md +++ b/docs/grammar/tracer.md @@ -2,7 +2,7 @@ Whether you are using the CLI or the API, as long as you pass the `trace` option, the generated parser can trace it's progress by calling `tracer.trace( event )`, which can then be overwritten by passing an alternative tracer in the options to the generated parser. -You can also optionally disable the default tracer by passing `features: { DefaultTracer: false }` to `peg.generate` or `peg.compiler.compile`, in which case a empry function will be called by default unless a tracer is passed to the parser. +You can also optionally disable the default tracer by passing `features: { DefaultTracer: false }` to `peg.generate` or `peg.compiler.compile`, in which case a empty function will be called by default unless a tracer is passed to the parser. The `event` passed to the `trace` method contains the following properties: