Hello! "Michael Gran" <spk...@yahoo.com> writes:
> The branch, master has been updated > via 77332b21a01fac906ae4707426e00f01e62c0415 (commit) > from e5dc27b86d0eaa470f92cdaa9f4ed2a961338c49 (commit) Oops, I hadn't realized this was in `master'. Was it intended? (I don't remember seeing a discussion, but I may have skipped it.) > Replace global charnames variables with accessors > > The global variables scm_charnames and scm_charnums are replaced with > the accessor functions scm_i_charname and scm_i_charname_to_num. > Also, the incomplete and broken EBCDIC support is removed. Does it have a user-visible effect? (If so, please update `NEWS' for 1.9.1->1.9.2.) > * libguile/print.c (iprin1): use new func scm_i_charname > > * libguile/read.c (scm_read_character): use new func > scm_i_charname_to_num > > * libguile/chars.c (scm_i_charname): new function > (scm_i_charname_to_char): new function > (scm_charnames, scm_charnums): removed These removals are incompatible in theory, but probably they don't warrant a `NEWS' entry. Thoughts? > +const char *const scm_r5rs_charnames[] = Please follow the GCS when it comes to spacing, indentation, etc. If in doubt, run GNU Indent. > +int scm_n_C0_control_charnames = sizeof (scm_C0_control_charnames) / sizeof > (char *); Scary name! ;-) Shouldn't it be private? And shouldn't it be a macro instead? Thanks, Ludo'.