mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
Undeprecate read syntax for uniform complex vectors
* libguile/read.c (scm_read_sharp): Move the "#c..." case outside of #if SCM_ENABLE_DEPRECATED, and to the same section which handles "#s...", "#u..." and "#f...". Thanks to Andreas Rottmann <a.rottmann@gmx.at> for the bug report.
This commit is contained in:
parent
78d1be4aef
commit
df941b5b62
1 changed files with 1 additions and 1 deletions
|
@ -1329,6 +1329,7 @@ scm_read_sharp (scm_t_wchar chr, SCM port)
|
|||
case 's':
|
||||
case 'u':
|
||||
case 'f':
|
||||
case 'c':
|
||||
/* This one may return either a boolean or an SRFI-4 vector. */
|
||||
return (scm_read_srfi4_vector (chr, port));
|
||||
case 'v':
|
||||
|
@ -1348,7 +1349,6 @@ scm_read_sharp (scm_t_wchar chr, SCM port)
|
|||
#if SCM_ENABLE_DEPRECATED
|
||||
/* See below for 'i' and 'e'. */
|
||||
case 'a':
|
||||
case 'c':
|
||||
case 'y':
|
||||
case 'h':
|
||||
case 'l':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue