mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-24 20:30:28 +02:00
(SCM_PRINT_KEYWORD_STYLE_I, SCM_PRINT_KEYWORD_STYLE):
New. (sym_reader): New. (scm_print_opts): Added "quote-keywordish-symbols" option. (quote_keywordish_symbol): New, for evaluating the option. (scm_print_symbol_name): Use it. (scm_init_print): Initialize new option to sym_reader.
This commit is contained in:
parent
25bdfbb6cf
commit
475fa9a5d7
2 changed files with 35 additions and 5 deletions
|
@ -32,7 +32,9 @@ SCM_API scm_t_option scm_print_opts[];
|
|||
#define SCM_PRINT_SOURCE_P ((int) scm_print_opts[1].val)
|
||||
#define SCM_PRINT_HIGHLIGHT_PREFIX (SCM_PACK (scm_print_opts[2].val))
|
||||
#define SCM_PRINT_HIGHLIGHT_SUFFIX (SCM_PACK (scm_print_opts[3].val))
|
||||
#define SCM_N_PRINT_OPTIONS 4
|
||||
#define SCM_PRINT_KEYWORD_STYLE_I 4
|
||||
#define SCM_PRINT_KEYWORD_STYLE (SCM_PACK (scm_print_opts[4].val))
|
||||
#define SCM_N_PRINT_OPTIONS 5
|
||||
|
||||
/* State information passed around during printing.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue