chiark / gitweb /
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 d2bcc703fc06e5743408d762a1d5710191182bfd..a2199b69e50513562e46b199fa9f84b3f0344703 100644 (file)
@@ -120,7 +120,7 @@     (defun parse-expression (scanner)
                                     (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)