guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: String syntax changed?


From: Keith Wright
Subject: Re: String syntax changed?
Date: Mon, 19 Jan 2004 00:53:09 -0500

> From: address@hidden (Paul Jarc)
> 
> Roland Orre <address@hidden> wrote:
> >     (begin (display "$\\scriptstyle{P(A\|D)}$") (newline))
> ...
> > ERROR: #<unknown port>:1:38: illegal character in escape sequence: #\|
> > ABORT: (read-error)
> 
> 1.7 is more strict than 1.6 about unrecognized escaped characters.
> 
> I don't think it was ever documented that unnecessary backslashes were
> allowed.

...which is good, because if you let people throw extra
backshlashes just anywhere you lose the possibilty of making
extensions.  Maybe someday "\|... will mean something not
yet invented.  For now an error message is the Right Thing.

-- 
     -- Keith Wright  <address@hidden>

Programmer in Chief, Free Computer Shop <http://www.free-comp-shop.com>
         ---  Food, Shelter, Source code.  ---




reply via email to

[Prev in Thread] Current Thread [Next in Thread]