mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-09 05:30:21 +02:00
tree-il-src is a vector, replaces tree-il-srcv
* module/language/tree-il.scm (tree-il-src): Always a vector now; tree-il-srcv is gone. An incompatible change but we are in the compiler. (location): For parse-tree-il, make vector locations instead of alists. * module/language/tree-il/analyze.scm: * module/language/tree-il/compile-bytecode.scm: * module/language/tree-il/compile-cps.scm: * module/language/tree-il/debug.scm: * module/language/tree-il/letrectify.scm: * module/language/tree-il/peval.scm: * module/system/vm/assembler.scm: Update all uses to expect vectors instead of alists and to use tree-il-src instead of tree-il-srcv. * module/language/elisp/compile-tree-il.scm (location): Create vectors, not alists. * test-suite/tests/compiler.test ("psyntax"): Update syntax-source expectation.
This commit is contained in:
parent
f399f36d37
commit
9ab8f3d807
10 changed files with 39 additions and 57 deletions
|
@ -1,6 +1,6 @@
|
|||
;;; Guile Emacs Lisp
|
||||
|
||||
;; Copyright (C) 2009-2011, 2013, 2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2011, 2013, 2018, 2025 Free Software Foundation, Inc.
|
||||
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
;; it under the terms of the GNU General Public License as published by
|
||||
|
@ -69,7 +69,9 @@
|
|||
(and (pair? x)
|
||||
(let ((props (source-properties x)))
|
||||
(and (not (null? props))
|
||||
props))))
|
||||
(vector (assq-ref props 'filename)
|
||||
(assq-ref props 'line)
|
||||
(assq-ref props 'column))))))
|
||||
|
||||
;;; Values to use for Elisp's nil and t.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue