src/parser/parser-expr-impl.lisp: Compare paren tags with `eql'.
[sod] / src / parser / parser-expr-impl.lisp
index 5ae4035..41c154f 100644 (file)
          (let ((head (car opstack)))
            (cond ((not (typep head 'open-parenthesis))
                   (apply-operator head state))
-                 ((not (eq (slot-value head 'tag) tag))
+                 ((not (eql (slot-value head 'tag) tag))
                   (fail))
                  (t
                   (return)))