peg: remove error-val
authorAndy Wingo <wingo@pobox.com>
Fri, 18 Feb 2011 20:28:49 +0000 (21:28 +0100)
committerAndy Wingo <wingo@pobox.com>
Wed, 16 Jan 2013 09:11:42 +0000 (10:11 +0100)
* module/ice-9/peg.scm (error-val): Remove needless definition.

module/ice-9/peg.scm

index d9b3176..d91a74e 100644 (file)
@@ -174,13 +174,6 @@ return EXP."
    ((eq? accum 'none) 'none)))
 (define baf builtin-accum-filter)
 
-;; Takes a value, prints some debug output, and returns it.
-(define (error-val val)
-  (begin
-    (pretty-print val)
-    (pretty-print "Inserting into code for debugging.\n")
-    val))
-
 ;; Takes an arbitrary expressions and accumulation variable, then parses it.
 ;; E.g.: (peg-sexp-compile syntax '(and "abc" (or "-" (range #\a #\z))) 'all)
 (define (peg-sexp-compile pat accum)