From c3e1c9b9067015d5f7d5029b8797067476e383be Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Wed, 1 Mar 2017 16:03:07 -0800 Subject: Fix a grammar mistake in the docs --- doc/ply.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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 lineno attribute of the underlying lexer t.lex After the line number is updated, the token is simply discarded since nothing is returned.

-lex.py does not perform and kind of automatic column tracking. However, it does record positional +lex.py does not perform any kind of automatic column tracking. However, it does record positional information related to each token in the lexpos 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. -- cgit v1.2.1