[REBOL] Re: Fixed or Not?
From: volker::nitsch::gmail::com at: 2-Aug-2005 22:41
On 8/2/05, Peter WA Wood <[pwawood--mango--net--my]> wrote:
> Back in October 2001, Gregg Irwin noted the following:
>
> Does anyone know why the console chokes when you enter something like
> this:
> >> ; ignore "this string
> ** Syntax Error: Missing " at ; ignore "this string
>
> If the string is inside a comment, why does it care? Executing the same
> thing outside the console works fine. Is it something for feedback?
>
> How did I discover this you ask? Well, I was pasting some stuff into the
> console for testing, made some changes and ended up with a bad string
> in a
> comment. WHAMMO!
>
> --Gregg
>
> Gregg reported it to feedback (according to another message in the
> thread). Core 2.5.6 still gives the same error message.
>
> Is it really a bug? Has it been fixed in View 1.3? Should I submit it
> to Rambo?
>
Really a bug, Present in core 2.6.0.4.2, would submit it with low priority..
I guess the console does some own parsing to ask for missing "]"
simplifies syntax a bit, and the check for ";" was overlooked.
Here is another one:
!>{^}}
== "}"
!>{
{ ^}
** Syntax Error: Invalid string -- {
because console thinks the ^} is a real closing parent.
Instead, it should ask for another line.
My case is nitpicking, but i can imagine comments like
; no " needed here
ANd a check for ";" is cheap.
> Regards
> Peter
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
--
-Volker
Any problem in computer science can be solved with another layer of
indirection. But that usually will create another problem.
David
Wheeler