From: Mark Wooding Date: Tue, 17 Apr 2018 01:11:44 +0000 (+0100) Subject: gremlin/gremlin.in: Attach a name to the FormatSpec parser. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/autoys/commitdiff_plain/483b52d0c2e2ab4a12fccf1a9af03b9e5a119738 gremlin/gremlin.in: Attach a name to the FormatSpec parser. Just for diagnostic purposes. --- diff --git a/gremlin/gremlin.in b/gremlin/gremlin.in index cca2789..ce5492e 100644 --- a/gremlin/gremlin.in +++ b/gremlin/gremlin.in @@ -411,6 +411,8 @@ class FormatParser (P.ParserElement): named format and its superclasses. """ + name = 'format-spec' + ## We cache the parser elements we generate to avoid enormous consing. CACHE = {}