Re: [PATCH] Add parse-path-with-ellipsis, and use it for GUILE_LOAD_PATH et al

2012-11-29 Thread Ludovic Courtès
Hi Mark! Mark H Weaver skribis: > Hi Ludovic, > > l...@gnu.org (Ludovic Courtès) writes: >> Mark H Weaver skribis: >> >>> +#define FUNC_NAME s_scm_parse_path_with_ellipsis >>> +{ >>> + SCM ellipsis = scm_from_latin1_string ("..."); >> >> Use ‘SCM_SYMBOL’ instead. > > It's a string, not a symbo

Re: [PATCH] Add parse-path-with-ellipsis, and use it for GUILE_LOAD_PATH et al

2012-11-28 Thread Mark H Weaver
Hi Ludovic, l...@gnu.org (Ludovic Courtès) writes: > Mark H Weaver skribis: > >> +#define FUNC_NAME s_scm_parse_path_with_ellipsis >> +{ >> + SCM ellipsis = scm_from_latin1_string ("..."); > > Use ‘SCM_SYMBOL’ instead. It's a string, not a symbol. I changed it to a global static SCM initialize

Re: [PATCH] Add parse-path-with-ellipsis, and use it for GUILE_LOAD_PATH et al

2012-11-28 Thread Ludovic Courtès
Hi Mark, Mark H Weaver skribis: > From 4a78f4a638334a5bd8eb08308891b541bbde9b1e Mon Sep 17 00:00:00 2001 > From: Mark H Weaver > Date: Wed, 28 Nov 2012 18:01:35 -0500 > Subject: [PATCH] Add parse-path-with-ellipsis, and use it for GUILE_LOAD_PATH > et al. > > * libguile/load.c (scm_parse_path_