From 5bd2ca1cb56d6ffbaec6b103508b4b535a6ee2dc Mon Sep 17 00:00:00 2001 From: David Majda Date: Wed, 18 Apr 2012 11:15:16 +0200 Subject: [PATCH] README.md: Fix |PEG.buildParser| option name --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3f66d85..0820f30 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ To get parser’s source code, call the `toSource` method on the parser. You can tweak the generated parser by passing a second parameter with an options object to `PEG.buildParser`. The following options are supported: * `cache` — if `true`, makes the parser cache results, avoiding exponential parsing time in pathological cases but making the parser slower (default: `false`) - * `track-line-and-column` — if `true`, makes the parser track line and column (available as `line` and `column` variables in the actions and predicates) (default: `false`) + * `trackLineAndColumn` — if `true`, makes the parser track line and column (available as `line` and `column` variables in the actions and predicates) (default: `false`) Using the Parser ----------------