summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2011-02-17 13:38:14 +0100
committerNoah Lavine <noah.b.lavine@gmail.com>2012-01-20 08:26:40 -0500
commit2d68c6ae39d6daebca76959a64713b40aed2a943 (patch)
tree330d0333f87232c2c8f08a78fcf0cf90db433ae8
parent3ad8fb4a46b0d5437e938b236502a8e4968acd3a (diff)
downloadguile-2d68c6ae39d6daebca76959a64713b40aed2a943.tar.gz
peg: define-module cleanup
* module/ice-9/peg.scm: Fix up define-module block.
-rw-r--r--module/ice-9/peg.scm23
1 files changed, 18 insertions, 5 deletions
diff --git a/module/ice-9/peg.scm b/module/ice-9/peg.scm
index d0914cd47..fa7cb3e79 100644
--- a/module/ice-9/peg.scm
+++ b/module/ice-9/peg.scm
@@ -18,11 +18,24 @@
;;;;
(define-module (ice-9 peg)
- :export (peg-sexp-compile peg-string-compile context-flatten peg-parse define-nonterm define-nonterm-f peg-match get-code define-grammar define-grammar-f peg:start peg:end peg:string peg:tree peg:substring peg-record? keyword-flatten)
- :autoload (ice-9 pretty-print) (peg-sexp-compile peg-string-compile context-flatten peg-parse define-nonterm define-nonterm-f peg-match get-code define-grammar define-grammar-f keyword-flatten)
- :use-module (ice-9 pretty-print))
-
-(use-modules (ice-9 pretty-print))
+ #:export (peg-sexp-compile
+ peg-string-compile
+ context-flatten
+ peg-parse
+ define-nonterm
+ define-nonterm-f
+ peg-match
+ get-code
+ define-grammar
+ define-grammar-f
+ peg:start
+ peg:end
+ peg:string
+ peg:tree
+ peg:substring
+ peg-record?
+ keyword-flatten)
+ #:use-module (ice-9 pretty-print))
(eval-when (compile load eval)