diff options
author | Boutade <thegoofist@protonmail.com> | 2020-03-06 11:21:04 -0600 |
---|---|---|
committer | Boutade <thegoofist@protonmail.com> | 2020-03-06 11:21:04 -0600 |
commit | 1dcd98391c66840c1dd377eb598d9a1f808b99d8 (patch) | |
tree | 67a2f59e0a54e725715eb49009f0ee46ed48dcd4 /parzival.lisp | |
parent | c3b8d7d3ac67a8b71e1eed8645eedfa055cfb87a (diff) |
tiny tweak to allow mutually recursive parsers
Diffstat (limited to 'parzival.lisp')
-rw-r--r-- | parzival.lisp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parzival.lisp b/parzival.lisp index 9884068..85a6632 100644 --- a/parzival.lisp +++ b/parzival.lisp @@ -43,8 +43,8 @@ (defmacro <<def (name parser &optional docstring) `(progn - (defvar ,name ,parser) - (defun ,name (stream) ,docstring (funcall ,name stream)))) + (defvar ,name ',name) + (defun ,name (stream) ,docstring (funcall ,parser stream)))) ;;; The CORE PARSERS out of which all other parsers are built! A most solemn |