src/pset-parse.lisp: Report `{' and `<' as expected tokens in errors.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 27 Jul 2019 00:04:30 +0000 (01:04 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 3 Aug 2019 15:27:36 +0000 (16:27 +0100)
For fragments and types, respectively.

src/pset-parse.lisp

index d2bcc70..a2199b6 100644 (file)
                                     (values (cons :type (car dc))
                                             t t))))
                           (t
-                           (values (list :int :id :char :string #\?)
+                           (values (list :int :id :char :string #\? #\{ #\<)
                                    nil nil)))))
                 (or (seq (#\+) add)
                     (seq (#\-) sub)