gremlin/gremlin.in: Remove old debugging code.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 14 Feb 2016 01:57:20 +0000 (01:57 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 14 Feb 2016 02:09:45 +0000 (02:09 +0000)
gremlin/gremlin.in

index 8d2cac0..9dbde3b 100755 (executable)
@@ -103,7 +103,6 @@ def charwidth(s):
     else: w += 1
 
   ## Done.
-  #print ';; %r -> %d' % (s, w)
   return w
 
 class StatusLine (object):
@@ -136,8 +135,6 @@ class StatusLine (object):
 
     ## Eyecandy update.
     if me.eyecandyp:
-      #print
-      #print ';; new status %r' % line
 
       ## If the old line was longer, we need to clobber its tail, so work out
       ## what that involves.
@@ -159,7 +156,6 @@ class StatusLine (object):
       ## Actually do the output, all in one syscall.
       b = charwidth(me._last[i:])
       SYS.stdout.write(pre + '\b'*b + line[i:])
-      #print ';; => %r' % (pre + '\b'*b + line[i:])
       SYS.stdout.flush()
 
     ## Update our idea of what's gone on.
@@ -301,7 +297,6 @@ String = P.QuotedString('"', '\\')
 ## Handy abbreviations for constructed parser elements.
 def K(k): return P.Keyword(k).suppress()
 def D(d): return P.Literal(d).suppress()
-##R = P.ZeroOrMore
 def R(p): return P.ZeroOrMore(p).setParseAction(lambda s, l, t: [t])
 O = P.Optional