open-iscsi / configshell-fb

configshell with additional modifications, see README
Apache License 2.0
28 stars 37 forks source link

Use pyparsing's locatedExpr instead of our custom helper #50

Closed cvubrugier closed 5 years ago

cvubrugier commented 5 years ago

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, 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