This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Error in block comments
- To: guile at sourceware dot cygnus dot com
- Subject: Error in block comments
- From: Martin Grabmueller <mgrabmue at cs dot tu-berlin dot de>
- Date: Tue, 25 Apr 2000 21:37:46 +0200 (MET DST)
Hello folks,
it seems Guile is not parsing block comments correctly, but I am not sure
whether it is by specification rather than by error. Consider the following
test:
mgrabmue@tortoise (~): guile
guile> '(#!
... !#
... )
ERROR: In procedure read:
ERROR: unexpected ")"
ABORT: (misc-error)
guile>
Block comments are not ignored inside of list and vector literals. I would
call this a bug but I recall having read something about `block comments are
only allowed at the beginning of script files'. I don't know where I read
that though. Please enlighten me who is mistaken: the interpreter or me.
Oh, and then I have a little documentation fix:
--- guile-core/libguile/posix.c.old Tue Apr 25 21:25:08 2000
+++ guile-core/libguile/posix.c Mon Apr 24 19:51:18 2000
@@ -865,7 +865,7 @@
"@var{filename} does not contain a slash\n"
"then the file to execute will be located by searching the\n"
"directories listed in the @code{PATH} environment variable.\n\n"
- "This procedure is currently implemented using the @code{execvp} system\n"
+ "This procedure is currently implemented using the @code{execlv} system\n"
"call, but we call it @code{execlp} because of its Scheme calling interface.")
#define FUNC_NAME s_scm_execlp
{
Thanks,
'mgrabmue