[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] externals/sly 791f7b7 17/47: Calculate condition-location prope
From: |
ELPA Syncer |
Subject: |
[nongnu] externals/sly 791f7b7 17/47: Calculate condition-location properly for clasp |
Date: |
Thu, 17 Dec 2020 18:57:16 -0500 (EST) |
branch: externals/sly
commit 791f7b7eb89793f663d37a6664bd1bb9d276e0e4
Author: Chris Schafmeister <meister@temple.edu>
Commit: João Távora <joaotavora@gmail.com>
Calculate condition-location properly for clasp
* slynk/backend/clasp.lisp (condition-location): Rework.
Co-authored-by: João Távora <joaotavora@gmail.com>
Cherry-picked-from: SLIME commit 8cb0980160efd63286849eebc5743da8f0ef8a68
---
slynk/backend/clasp.lisp | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/slynk/backend/clasp.lisp b/slynk/backend/clasp.lisp
index ce27a5f..8c515be 100644
--- a/slynk/backend/clasp.lisp
+++ b/slynk/backend/clasp.lisp
@@ -227,15 +227,14 @@
(defun condition-location (origin)
(if (null origin)
(make-error-location "No error location available")
- (let ((location (core:source-pos-info-filepos origin)))
- (if *buffer-name*
- (make-buffer-location *buffer-name*
- *buffer-start-position*
- location)
- (make-file-location
- (core:file-scope-pathname
- (core:file-scope origin))
- location)))))
+ ;; NOTE: If we're compiling in a buffer, the origin
+ ;; will already be set up with the offset correctly
+ ;; due to the :source-debug parameters from
+ ;; slynk-compile-string (below).
+ (make-file-location
+ (core:file-scope-pathname
+ (core:file-scope origin))
+ (core:source-pos-info-filepos origin))))
(defun signal-compiler-condition (condition origin)
(signal 'compiler-condition
- [nongnu] externals/sly 00cbab0 01/47: Slynk: avoid race conditions when killing threads, (continued)
- [nongnu] externals/sly 00cbab0 01/47: Slynk: avoid race conditions when killing threads, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 47e8d27 05/47: add architecture :aarch64 (for ECL), ELPA Syncer, 2020/12/17
- [nongnu] externals/sly f7c6048 08/47: arglist-dispatch: better handling of closer-mop wrappers., ELPA Syncer, 2020/12/17
- [nongnu] externals/sly bf157ae 10/47: Changed the name of a function in Clasp, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 57b6d3f 18/47: abcl: consolidate fixes and features, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly e79f9f2 23/47: sbcl: consult sb-impl:+internal-features+ when reading source files., ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 3bd8696 24/47: Move *features* binding up, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 276b18c 39/47: abcl: guard against repeated invocation to SLYNK-BACKEND:WRAP, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 47afe17 41/47: Fix #386: Unbreak Clasp common lisp for SLYfun, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 5bd0081 12/47: *architecture-features*: add ppc64, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 791f7b7 17/47: Calculate condition-location properly for clasp,
ELPA Syncer <=
- [nongnu] externals/sly e7f0333 40/47: abcl: fix inspector for a STRUCTURE-OBJECT with no inspectable parts, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 5f15cf1 43/47: Use defgeneric lambda list in defmethod arglists, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly ae4bbca 45/47: Don't force mREPL to use channel thread for everything, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly e927cda 47/47: Release SLY 1.0.42, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly a1fc34c 03/47: Add a name to the mailbox lock for clasp, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly b2732f4 15/47: Add line, column kw args to slynk-compile-string, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 5ec798d 19/47: decode-arglist: don't fall on arglist-dummy., ELPA Syncer, 2020/12/17
- [nongnu] externals/sly a0308b7 21/47: fix spurious detection of allegro modern-mode (#540), ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 9392ac9 32/47: Fix collect-macro-forms in clasp, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 3c83b6f 06/47: Improve jump to source with 'v' in sldb in clasp, ELPA Syncer, 2020/12/17