From c7ed2190cfb1e4a486c1180033ca1f8dd528d9f8 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Fri, 18 Feb 2011 21:28:49 +0100 Subject: [PATCH] peg: remove error-val * module/ice-9/peg.scm (error-val): Remove needless definition. --- module/ice-9/peg.scm | 7 ------- 1 file changed, 7 deletions(-) diff --git a/module/ice-9/peg.scm b/module/ice-9/peg.scm index d9b3176f8..d91a74e57 100644 --- a/module/ice-9/peg.scm +++ b/module/ice-9/peg.scm @@ -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)