chiark
/
gitweb
/
~mdw
/
autoys
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gremlin/gremlin.in: Attach a name to the FormatSpec parser.
[autoys]
/
gremlin
/
gremlin.in
diff --git
a/gremlin/gremlin.in
b/gremlin/gremlin.in
index cca27893e3254163eeeee1d8746f107f789a055b..ce5492e3d65a987c7b2d17a84393a9ff1ee5694c 100644
(file)
--- 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 = {}