Commit e535a0d4 authored by Christophe Rhodes's avatar Christophe Rhodes

implement CANONICAL-NAME for commas (fixes crash on "1,2")

parent 3edd67e7
......@@ -448,6 +448,8 @@
(defmethod canonical-name ((thing name))
;; FIXME: should canonize
(lexeme-string (syntactic-lexeme thing)))
(defmethod canonical-name ((thing comma))
(defclass empty-list (prolog-nonterminal)
(([ :initarg :[ :accessor [)
(] :initarg :] :accessor ])))
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