1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-17 03:00:21 +02:00
guile/module/language
Brian Templeton 761e60535b use unbound fluids instead of `void' sentinel value
* module/language/elisp/compile-tree-il.scm (reference-with-check)
  (compile-without-void-checks, want-void-check?): Remove.

  (compile-function, compile-pair): Use `reference-variable' instead of
  `reference-with-check'.

  (compile-defvar): Only set `sym' if `sym' is not bound to a bound
  fluid, rather than requiring that its value be `void'.

  (process-options!): Remove `#:disable-void-check' option handling.

* module/language/elisp/runtime.scm (void)
  (reference-variable-with-check): Remove.

  (ensure-fluid!): Use an undefined fluid as the initial value for
  global variables.

* module/language/elisp/runtime/function-slot.scm (without-void-checks):
  Don't import or re-export.

* module/language/elisp/runtime/macros.scm (prog1, cond, or, dolist):
  Don't use `without-void-checks'.

* module/language/elisp/runtime/subrs.scm (symbol-value)
  (symbol-function, apply): Use `reference-variable' instead of
  `reference-variable-with-check'.

  (makunbound, fmakunbound, boundp, fboundp): Unset the variable's fluid
  (or the variable itself, if it isn't bound to a fluid).

* test-suite/tests/elisp-compiler.test ("Variable
  Setting/Referencing")["disabled void check (all)", "disabled void
  check (symbol list)", "without-void-checks"]: Remove.
2010-08-15 23:31:41 -04:00
..
assembly rename (rnrs bytevector) to (rnrs bytevectors) 2010-06-01 13:26:11 +02:00
brainfuck remove `version' field from <language> 2010-05-02 11:19:13 +02:00
bytecode remove `version' field from <language> 2010-05-02 11:19:13 +02:00
ecmascript remove `version' field from <language> 2010-05-02 11:19:13 +02:00
elisp use unbound fluids instead of `void' sentinel value 2010-08-15 23:31:41 -04:00
glil rename (rnrs bytevector) to (rnrs bytevectors) 2010-06-01 13:26:11 +02:00
objcode Add program-free-variables' to (system vm program)'. 2010-05-07 13:47:52 +02:00
scheme fix a comment about environments and the scheme compiler 2010-05-02 11:19:46 +02:00
tree-il resolve-primitives tweaks 2010-06-17 13:43:26 +02:00
value remove `version' field from <language> 2010-05-02 11:19:13 +02:00
assembly.scm rename (rnrs bytevector) to (rnrs bytevectors) 2010-06-01 13:26:11 +02:00
glil.scm prompt handlers are always inline 2010-02-19 15:30:34 +01:00
objcode.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
tree-il.scm Remove trailing whitespace 2010-07-09 21:22:27 -05:00