Compiler error message in transcript

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Compiler error message in transcript

Schwab,Wilhelm K
Blair,

This is starting to sound familiar to me, but I will describe it anyway
just in case.  I recently started seeing a message in the transcript:

   Error 39 on line 20 of XYZ class>>xyz -> 'expecting message'

The CHB did not complain about the syntax.  I was initially concerned
that I had crossed up compiler and VM DLLs.  It turns out that I had a
cascade inside a block, and errantly ended the cascase with a trailing
semicolon.  After changing it to a period, the message disappeared.

Have a good one,

Bill

--
Wilhelm K. Schwab, Ph.D.
[hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: Compiler error message in transcript

Blair McGlashan
"Bill Schwab" <[hidden email]> wrote in message
news:c834fg$125c$[hidden email]...

> Blair,
>
> This is starting to sound familiar to me, but I will describe it anyway
> just in case.  I recently started seeing a message in the transcript:
>
>    Error 39 on line 20 of XYZ class>>xyz -> 'expecting message'
>
> The CHB did not complain about the syntax.  I was initially concerned
> that I had crossed up compiler and VM DLLs.  It turns out that I had a
> cascade inside a block, and errantly ended the cascase with a trailing
> semicolon.  After changing it to a period, the message disappeared.
>

This is due to different behaviour of the Dolphin compiler and the RB's
parser used in the browsers. The latter is stricter and does not allow a
final cascade without a message.

Regards

Blair