From 483b52d0c2e2ab4a12fccf1a9af03b9e5a119738 Mon Sep 17 00:00:00 2001 Message-Id: <483b52d0c2e2ab4a12fccf1a9af03b9e5a119738.1716616312.git.mdw@distorted.org.uk> From: Mark Wooding Date: Tue, 17 Apr 2018 02:11:44 +0100 Subject: [PATCH] gremlin/gremlin.in: Attach a name to the FormatSpec parser. Organization: Straylight/Edgeware From: Mark Wooding Just for diagnostic purposes. --- gremlin/gremlin.in | 2 ++ 1 file changed, 2 insertions(+) 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 = {} -- [mdw]