mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-09 21:40:33 +02:00
peg: remove error-val
* module/ice-9/peg.scm (error-val): Remove needless definition.
This commit is contained in:
parent
3be2799eaf
commit
c7ed2190cf
1 changed files with 0 additions and 7 deletions
|
@ -174,13 +174,6 @@ return EXP."
|
||||||
((eq? accum 'none) 'none)))
|
((eq? accum 'none) 'none)))
|
||||||
(define baf builtin-accum-filter)
|
(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.
|
;; Takes an arbitrary expressions and accumulation variable, then parses it.
|
||||||
;; E.g.: (peg-sexp-compile syntax '(and "abc" (or "-" (range #\a #\z))) 'all)
|
;; E.g.: (peg-sexp-compile syntax '(and "abc" (or "-" (range #\a #\z))) 'all)
|
||||||
(define (peg-sexp-compile pat accum)
|
(define (peg-sexp-compile pat accum)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue