Commit 787cf6b4 authored by Christophe Rhodes's avatar Christophe Rhodes

Parse [A,B]-style lists correctly.

parent ff273ea5
......@@ -704,6 +704,8 @@
(define-prolog-rule (items -> ((left exp) head-tail-separator (right exp)))
(make-instance 'items-pair :exp left
:htsep head-tail-separator :texp right))
(define-prolog-rule (items -> (exp))
(make-instance 'items :exp exp))
;;; 6.3.6
(define-prolog-rule (term -> (open-curly term close-curly))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment