[REBOL] Bug in either clean-script.r or the parser. Re:

2000-08-04 Thread allenk

Hi Brett,

I've had a few problems occasionally with this script too. I tried hard to
track down the exact condition that caused the bug, but couldn't. I've also
noted that if run a few times in the same session it can accumulate indents.

Send your bug report direct to the author..

Cheers,

Allen K

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 05, 2000 2:48 AM
Subject: [REBOL] Bug in either clean-script.r or the parser.


> I've been using clean-script heavily recently, and have now tripped over
the
> following problem.
>
> clean-script mangles the attached script.
>
> Specifically it creates an unmatched "(" for the following line. In other
> tests it could be a new "[".
>
> table-start: [text-line (emitter/start-table trim text) newline]
>
> The thing is it handles earlier such lines correctly, which leads me to
> think about the parser.
>
> I've think I've narrowed it down to the script not "consuming" the first
"["
> for this line. Instead load/next gets and it will return a block value.
>
> I tried removing some lines before this line and the error moved. Same for
> when you add extra lines - BUT they have to be of the same type not just
any
> old line.
>
> Any ideas?
>
> Thanks.
> Brett.
>
> ---
> >> my-rebol-stuff
> == http://www.zipworld.com.au/~bhandley/rebol
>
>




[REBOL] Bug in either clean-script.r or the parser.

2000-08-04 Thread bhandley

I've been using clean-script heavily recently, and have now tripped over the
following problem.

clean-script mangles the attached script.

Specifically it creates an unmatched "(" for the following line. In other
tests it could be a new "[".

table-start: [text-line (emitter/start-table trim text) newline]

The thing is it handles earlier such lines correctly, which leads me to
think about the parser.

I've think I've narrowed it down to the script not "consuming" the first "["
for this line. Instead load/next gets and it will return a block value.

I tried removing some lines before this line and the error moved. Same for
when you add extra lines - BUT they have to be of the same type not just any
old line.

Any ideas?

Thanks.
Brett.

---
>> my-rebol-stuff
== http://www.zipworld.com.au/~bhandley/rebol


 text-to-html.r