File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -336,19 +336,17 @@ of context; the default of three should be good enough for most situations.")
336
336
(ind) (back line) (back (nth (ind) result)))
337
337
(incf index))
338
338
lines))
339
- (: delete
339
+ (( :replace : delete)
340
340
(setf result
341
341
(append (subseq result 0 (ind))
342
342
(subseq result (+ (ind) (length lines)))))
343
343
(incf index (length lines))
344
344
(decf offset (length lines)))
345
- (: create
345
+ (( :insert : create)
346
346
(setf result (append (subseq result 0 (ind))
347
347
lines
348
348
(subseq result (ind))))
349
- (incf offset (length lines)))
350
- ((:insert :replace )
351
- (error " unimplemented chunk-kind ~a " (chunk-kind chunk)))))
349
+ (incf offset (length lines)))))
352
350
(values (mapcar #' back result) offset)))))
353
351
354
352
(defun apply-seq-diff (original-seq diff)
You can’t perform that action at this time.
0 commit comments