chiark
/
gitweb
/
~mdw
/
sod
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/keyword.c (kw_parseempty): Use correct variable scanning `kwval' list.
[sod]
/
src
/
lexer-proto.lisp
diff --git
a/src/lexer-proto.lisp
b/src/lexer-proto.lisp
index a811298759a08868bdb4c8c2be3ef2093f0a7fe5..a237a92778634474ffb72c92d3c081e03918c9ae 100644
(file)
--- a/
src/lexer-proto.lisp
+++ b/
src/lexer-proto.lisp
@@
-65,6
+65,14
@@
(define-condition syntax-error (parser-error base-syntax-error)
(:char "<character-literal>")
(:eof "<end-of-file>")
(:ellipsis "`...'")
(:char "<character-literal>")
(:eof "<end-of-file>")
(:ellipsis "`...'")
+ (:shl "`<<'")
+ (:shr "`>>'")
+ (:eq "`=='")
+ (:ne "`!='")
+ (:le "`<='")
+ (:ge "`>='")
+ (:and "`&&'")
+ (:or "`||'")
(t (format nil "<? ~S~@[ ~S~]>" type value)))))
(show-expected (thing)
(acond ((gethash thing *indicator-map*) it)
(t (format nil "<? ~S~@[ ~S~]>" type value)))))
(show-expected (thing)
(acond ((gethash thing *indicator-map*) it)