diff options
author | Noah Lavine <noah.b.lavine@gmail.com> | 2012-01-22 14:58:35 -0500 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2013-01-16 10:11:49 +0100 |
commit | 3ebd5786160226df4dd4bb2abf610105d156653a (patch) | |
tree | 2b32651af4bb17e5fbfa583dd5a5275a72059c4d /module/ice-9/peg | |
parent | 40ebbd64c4e5a9e2d330fabf1f7176e0ed584058 (diff) | |
download | guile-3ebd5786160226df4dd4bb2abf610105d156653a.tar.gz |
PEG Renames
* module/ice-9/peg.scm: rename 'define-grammar' to
'define-peg-string-patterns'
* module/ice-9/peg/string-peg.scm: same
* doc/ref/api-peg.texi: same
* test-suite/tests/peg.bench: same
* test-suite/tests/peg.test: same
Diffstat (limited to 'module/ice-9/peg')
-rw-r--r-- | module/ice-9/peg/string-peg.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/ice-9/peg/string-peg.scm b/module/ice-9/peg/string-peg.scm index 7028e7938..7859f6fdd 100644 --- a/module/ice-9/peg/string-peg.scm +++ b/module/ice-9/peg/string-peg.scm @@ -19,7 +19,7 @@ (define-module (ice-9 peg string-peg) #:export (peg-as-peg - define-grammar + define-peg-string-patterns define-grammar-f peg-grammar) #:use-module (ice-9 peg using-parsers) @@ -118,7 +118,7 @@ RB < ']' ;; Macro wrapper for PEG-PARSER. Parses PEG grammars expressed as strings and ;; defines all the appropriate nonterminals. -(define-syntax define-grammar +(define-syntax define-peg-string-patterns (lambda (x) (syntax-case x () ((_ str) |