Some little cleanup
This commit is contained in:
parent
928cdfd318
commit
2b94745734
1 changed files with 0 additions and 5 deletions
|
@ -88,10 +88,6 @@ parser's debug output.")
|
||||||
|
|
||||||
;;; Syntax patterns
|
;;; Syntax patterns
|
||||||
|
|
||||||
(defclass node-expr-equality (node-expr-binary)
|
|
||||||
((%operator :accessor operator :initarg :operator)
|
|
||||||
(%operands :accessor operands :initarg :operands)))
|
|
||||||
|
|
||||||
(defmacro define-binary-expr-matcher (name next &rest operator-node-pairs)
|
(defmacro define-binary-expr-matcher (name next &rest operator-node-pairs)
|
||||||
`(define-syntax-matcher ,name (left operator right)
|
`(define-syntax-matcher ,name (left operator right)
|
||||||
(setf left (match-syntax ,next))
|
(setf left (match-syntax ,next))
|
||||||
|
@ -136,7 +132,6 @@ parser's debug output.")
|
||||||
(token-not-equal node-expr-test-not-equal))
|
(token-not-equal node-expr-test-not-equal))
|
||||||
|
|
||||||
(define-binary-expr-matcher comparison term
|
(define-binary-expr-matcher comparison term
|
||||||
;; TODO: The rest
|
|
||||||
(token-less-than node-expr-test-equal)
|
(token-less-than node-expr-test-equal)
|
||||||
(token-greater-than node-expr-test-not-equal))
|
(token-greater-than node-expr-test-not-equal))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue