|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef PRIVATE_OPTIONS |
|
#define PRIVATE_OPTIONS |
|
|
|
|
|
|
|
|
|
SCM_INTERNAL scm_t_option scm_debug_opts[]; |
|
|
|
#define SCM_BACKWARDS_P scm_debug_opts[0].val |
|
#define SCM_BACKTRACE_WIDTH scm_debug_opts[1].val |
|
#define SCM_BACKTRACE_DEPTH scm_debug_opts[2].val |
|
#define SCM_BACKTRACE_P scm_debug_opts[3].val |
|
#define SCM_STACK_LIMIT scm_debug_opts[4].val |
|
#define SCM_SHOW_FILE_NAME scm_debug_opts[5].val |
|
#define SCM_WARN_DEPRECATED scm_debug_opts[6].val |
|
#define SCM_N_DEBUG_OPTIONS 7 |
|
|
|
|
|
|
|
|
|
|
|
SCM_INTERNAL scm_t_option scm_print_opts[]; |
|
|
|
#define SCM_PRINT_HIGHLIGHT_PREFIX_I 0 |
|
#define SCM_PRINT_HIGHLIGHT_PREFIX (SCM_PACK (scm_print_opts[0].val)) |
|
#define SCM_PRINT_HIGHLIGHT_SUFFIX_I 1 |
|
#define SCM_PRINT_HIGHLIGHT_SUFFIX (SCM_PACK (scm_print_opts[1].val)) |
|
#define SCM_PRINT_KEYWORD_STYLE_I 2 |
|
#define SCM_PRINT_KEYWORD_STYLE (SCM_PACK (scm_print_opts[2].val)) |
|
#define SCM_PRINT_ESCAPE_NEWLINES_P scm_print_opts[3].val |
|
#define SCM_PRINT_R7RS_SYMBOLS_P scm_print_opts[4].val |
|
#define SCM_N_PRINT_OPTIONS 5 |
|
|
|
|
|
|
|
|
|
|
|
SCM_INTERNAL scm_t_option scm_read_opts[]; |
|
|
|
#define SCM_RECORD_POSITIONS_P scm_read_opts[0].val |
|
#define SCM_CASE_INSENSITIVE_P scm_read_opts[1].val |
|
#define SCM_KEYWORD_STYLE scm_read_opts[2].val |
|
#define SCM_R6RS_ESCAPES_P scm_read_opts[3].val |
|
#define SCM_SQUARE_BRACKETS_P scm_read_opts[4].val |
|
#define SCM_HUNGRY_EOL_ESCAPES_P scm_read_opts[5].val |
|
#define SCM_CURLY_INFIX_P scm_read_opts[6].val |
|
#define SCM_R7RS_SYMBOLS_P scm_read_opts[7].val |
|
|
|
#define SCM_N_READ_OPTIONS 8 |
|
|
|
#endif |
|
|