Mark H Weaver <m...@netris.org> skribis:

> From ff0de60590d7e7979b085d9f3cd48dac5bbb0dc4 Mon Sep 17 00:00:00 2001
> From: Mark H Weaver <m...@netris.org>
> Date: Tue, 23 Oct 2012 00:29:07 -0400
> Subject: [PATCH 5/9] Generalize scm_read_shebang to handle other reader
>  directives.
>
> * libguile/read.c (READER_DIRECTIVE_NAME_MAX_SIZE): New C macro.
>   (scm_read_shebang): Rewrite to handle arbitrary reader directives.

OK.

> +  /* FIXME: Maybe handle shebang at the beginning of a file differently? */

I’d say no, because Unix shebangs would always be followed by an
absolute path, which cannot clash with the R[67] and SRFI directives,
AFAICS.

Ludo’.


Reply via email to