-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use pyparsing's locatedExpr instead of our custom helper
Our locatedExpr helper was suggested by the author of pyparsing as a way to get the location of a token. He added the feature to pyparsing shortly after (version 2.0.2 more than 5 years ago), so there is no reason to carry our own locatedExpr implementation. For more context, see: http://stackoverflow.com/questions/18706631/pyparsing-get-token-location-in-results-name Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
- Loading branch information
1 parent
421ff99
commit 7b5ba2c
Showing
2 changed files
with
9 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters