diff options
author | Brett Cannon <brettcannon@users.noreply.github.com> | 2017-03-01 16:03:07 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-01 16:03:07 -0800 |
commit | c3e1c9b9067015d5f7d5029b8797067476e383be (patch) | |
tree | b8ad6836f9c9b52539bfe0fe21fbf6c5ddde35da /doc | |
parent | 031fb0eebda3894c94f5c6de5f4f35cc327ff259 (diff) | |
download | ply-c3e1c9b9067015d5f7d5029b8797067476e383be.tar.gz |
Fix a grammar mistake in the docs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ply.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ply.html b/doc/ply.html index 62697b8..620cb7a 100644 --- a/doc/ply.html +++ b/doc/ply.html @@ -552,7 +552,7 @@ Within the rule, the <tt>lineno</tt> attribute of the underlying lexer <tt>t.lex After the line number is updated, the token is simply discarded since nothing is returned. <p> -<tt>lex.py</tt> does not perform and kind of automatic column tracking. However, it does record positional +<tt>lex.py</tt> does not perform any kind of automatic column tracking. However, it does record positional information related to each token in the <tt>lexpos</tt> attribute. Using this, it is usually possible to compute column information as a separate step. For instance, just count backwards until you reach a newline. |