From: Mark Wooding Date: Sat, 27 Jul 2019 00:04:30 +0000 (+0100) Subject: src/pset-parse.lisp: Report `{' and `<' as expected tokens in errors. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/sod/commitdiff_plain/ec81a2ac1ca37f2cc198d29b358863cf487a65c4 src/pset-parse.lisp: Report `{' and `<' as expected tokens in errors. For fragments and types, respectively. --- diff --git a/src/pset-parse.lisp b/src/pset-parse.lisp index d2bcc70..a2199b6 100644 --- a/src/pset-parse.lisp +++ b/src/pset-parse.lisp @@ -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)