summaryrefslogtreecommitdiff
path: root/module/ice-9
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2011-02-17 13:38:14 +0100
committerAndy Wingo <wingo@pobox.com>2013-01-16 10:11:35 +0100
commit0d2f21fc81075a1a16f3f136c25873752c60b25a (patch)
tree90ccb51df647920a71aedfcf24e1972b163e428d /module/ice-9
parent9ca71e7b84e8a6a732740a4a375213d0d909aa25 (diff)
downloadguile-0d2f21fc81075a1a16f3f136c25873752c60b25a.tar.gz
peg: define-module cleanup
* module/ice-9/peg.scm: Fix up define-module block.
Diffstat (limited to 'module/ice-9')
-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)