Re: [PATCH 2/3] Add internal API to specify reader options at reader invocation

2013-01-21 Thread Andy Wingo
On Sun 09 Dec 2012 13:47, Andreas Rottmann writes: > * libguile/private-options.h: Introduce a new enum indexing the read > options, and use its values as indices for scm_read_opts. Seems to define struct scm_read_opts as well? > +SCM scm_i_read (SCM port, const scm_t_read_opts *opts, unsigne

[PATCH 2/3] Add internal API to specify reader options at reader invocation

2012-12-09 Thread Andreas Rottmann
* libguile/private-options.h: Introduce a new enum indexing the read options, and use its values as indices for scm_read_opts. * libguile/read.c: Get rid of the bit field offsets #define-s, and instead use the enum values to caculate them. * libguile/read.c (enum t_keyword_style, scm_t_read_op