FUEL: use the right quot-char in pcases
parent
b5c6658ae5
commit
a6544c0acb
|
@ -55,14 +55,14 @@
|
|||
|
||||
(defun factor-smie-token (dir)
|
||||
(pcase dir
|
||||
('forward (forward-comment (point-max)))
|
||||
('backward (forward-comment (- (point)))))
|
||||
(`forward (forward-comment (point-max)))
|
||||
(`backward (forward-comment (- (point)))))
|
||||
(let ((tok (buffer-substring-no-properties
|
||||
(point)
|
||||
(let ((syntax "w_\\\""))
|
||||
(pcase dir
|
||||
('forward (skip-syntax-forward syntax))
|
||||
('backward (skip-syntax-backward syntax)))
|
||||
(`forward (skip-syntax-forward syntax))
|
||||
(`backward (skip-syntax-backward syntax)))
|
||||
(point)))))
|
||||
;; Token normalization. This way we only need one rule in
|
||||
;; factor-smie-grammar.
|
||||
|
|
Loading…
Reference in New Issue