chiark
/
gitweb
/
~mdw
/
autoys
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
00beb9e
)
gremlin/gremlin.in: Attach a name to the FormatSpec parser.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 17 Apr 2018 01:11:44 +0000
(
02:11
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 19 Apr 2018 11:22:49 +0000
(12:22 +0100)
Just for diagnostic purposes.
gremlin/gremlin.in
patch
|
blob
|
blame
|
history
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.
"""
named format and its superclasses.
"""
+ name = 'format-spec'
+
## We cache the parser elements we generate to avoid enormous consing.
CACHE = {}
## We cache the parser elements we generate to avoid enormous consing.
CACHE = {}