gremlin/gremlin.in: Attach a name to the FormatSpec parser.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 17 Apr 2018 01:11:44 +0000 (02:11 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 19 Apr 2018 11:22:49 +0000 (12:22 +0100)
Just for diagnostic purposes.

gremlin/gremlin.in

index cca2789..ce5492e 100644 (file)
@@ -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 = {}