On 8/2/05, Peter WA Wood <[EMAIL PROTECTED]> wrote:
> Back in October 2001, Gregg Irwin noted the following:
>=20
> Does anyone know why the console chokes when you enter something like
> this:
>  >> ; ignore "this string
> ** Syntax Error: Missing " at ; ignore "this string
>=20
> 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?
>=20
> 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!
>=20
> --Gregg
>=20
> Gregg reported it to feedback (according to another message in the
> thread). Core 2.5.6 still gives the same error message.
>=20
> Is it really a bug? Has it been fixed in View 1.3? Should I submit it
> to Rambo?
>=20

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:
!>{^}}
=3D=3D "}"

!>{
{    ^}
** 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
>=20
>=20
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>=20
>=20


--=20
-Volker

"Any problem in computer science can be solved with another layer of
indirection. But that usually will create another problem." David
Wheeler
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to