Permalink
Browse files

Update README.md

  • Loading branch information...
nielssp committed Feb 14, 2016
1 parent 2c1abd5 commit 55b8545ba1e28507a637e8b99845be35220c0042
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
@@ -220,7 +220,7 @@ An example of a parser error handler:
```php
$result = $myParser($input);
if (! $result->successful) {
$lines = explode("\n", $json);
$lines = explode("\n", $input);
$line = $result->getInputLine($lines);
$column = $result->getInputColumn($lines);
echo 'Syntax Error: ' . $result->message

0 comments on commit 55b8545

Please sign in to comment.