|
#ifndef SCM_READ_H |
|
#define SCM_READ_H |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "libguile/options.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define SCM_LINE_INCREMENTORS '\n' |
|
|
|
#ifdef MSDOS |
|
# define SCM_SINGLE_SPACES ' ':case '\r':case '\f': case 26 |
|
#else |
|
# define SCM_SINGLE_SPACES ' ':case '\r':case '\f' |
|
#endif |
|
|
|
#define SCM_WHITE_SPACES SCM_SINGLE_SPACES: case '\t' |
|
|
|
|
|
|
|
|
|
|
|
SCM_API SCM scm_sym_dot; |
|
|
|
SCM_INTERNAL SCM scm_primitive_read (SCM port); |
|
|
|
SCM_API SCM scm_read_options (SCM setting); |
|
SCM_API SCM scm_read (SCM port); |
|
SCM_API SCM scm_read_hash_extend (SCM chr, SCM proc); |
|
SCM_INTERNAL char *scm_i_scan_for_encoding (SCM port); |
|
SCM_API SCM scm_file_encoding (SCM port); |
|
|
|
SCM_INTERNAL void scm_i_input_error (const char *func, SCM port, |
|
const char *message, SCM arg) |
|
SCM_NORETURN; |
|
|
|
SCM_INTERNAL void scm_init_read (void); |
|
|
|
#endif |
|
|