chiark
/
gitweb
/
~mdw
/
sod
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
48f119e
)
src/pset-parse.lisp: Report `{' and `<' as expected tokens in errors.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 27 Jul 2019 00:04:30 +0000
(
01:04
+0100)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/src/pset-parse.lisp
b/src/pset-parse.lisp
index d2bcc703fc06e5743408d762a1d5710191182bfd..a2199b69e50513562e46b199fa9f84b3f0344703 100644
(file)
--- 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 (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)
nil nil)))))
(or (seq (#\+) add)
(seq (#\-) sub)