1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 11:50:28 +02:00
guile/module
Mark H Weaver 40e92f09fc Fix error messages involving definition forms
* module/ice-9/psyntax.scm (syntax-type): Return an additional value
  that contains the entire form in _all_ cases, including for definition
  forms.  Previously, the entire form was not returned for definition
  forms.

  (expand-expr): Add an additional argument that contains the entire
  form in _all_ cases, including for definition forms.  Use it to
  include the entire form in error messages, notably for definitions in
  expression context.  Include the source location information, which
  was previously missing from these errors when the rhs expression was
  an atom.  Improve the "definition in expression context" error message
  to be more comprehensible for Scheme beginners.

  (expand-top-sequence, expand, expand-body): Adjust as needed to handle
  the additional return value from 'syntax-type' and the additional
  argument to 'expand-expr'.

* module/ice-9/psyntax-pp.scm: Regenerate.

* NEWS: Update.
2012-01-27 09:52:58 -05:00
..
ice-9 Fix error messages involving definition forms 2012-01-27 09:52:58 -05:00
language more readable gensyms 2012-01-26 12:08:58 +01:00
oop fix some cache consistency issues with goops and extended generics 2011-09-02 13:17:19 +02:00
rnrs remove duplicate when/unless definitions 2012-01-20 21:16:50 +01:00
scripts Fix a couple of warnings. 2012-01-26 00:37:23 +01:00
srfi Placate a number of `syntax-check' verifications. 2012-01-05 23:38:10 +01:00
sxml remove duplicate when/unless definitions 2012-01-20 21:16:50 +01:00
system Fix a couple of warnings. 2012-01-26 00:37:23 +01:00
texinfo Use default value for make-fluid in Scheme files 2011-11-23 12:54:09 +01:00
web permit non-date values for Expires header 2012-01-09 23:36:59 +01:00
Makefile.am Implement local-eval', local-compile', and `the-environment' 2012-01-26 12:08:58 +01:00
rnrs.scm Enhance transcoder-related functionality of `(rnrs io ports)' 2011-03-13 23:14:43 +01:00
statprof.scm add gcprof 2011-05-05 11:43:12 +02:00
texinfo.scm more define-syntax-rule usage 2011-09-02 11:36:14 +02:00