From afc653c46f78e293f80e7c242a88f368474aa5b5 Mon Sep 17 00:00:00 2001 From: Futago-za Ryuu Date: Mon, 15 Oct 2018 08:03:53 +0100 Subject: [PATCH] fix stray spelling error: empry -> empty --- docs/grammar/tracer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: