|Recovering from missing tokens email@example.com (Lujop) (2004-11-17)|
|Re: Recovering from missing tokens firstname.lastname@example.org (2004-11-19)|
|Re: Recovering from missing tokens email@example.com (Lujop) (2004-11-20)|
|Date:||20 Nov 2004 21:26:11 -0500|
|Posted-Date:||20 Nov 2004 21:26:11 EST|
On 19 Nov 2004 00:53:49 -0500, VBDis <firstname.lastname@example.org> wrote:
> Your language is more Pascal than Java.
Yes I make a mistake. In fact the language is a lot more similar to
Java but you are right, syntactically, that's we are speaking now,
it's more like Pascal.
> In Pascal also all declarations are terminated with a semicolon,
> which can be used as a recovery point after an syntactical error.
> Code has to be enclosed in "begin"/"end" pairs, also useful as
> recovery points.
A lot of thanks for your reply, I see that I should need more
keywords. The problem is that I haven't the begin key, and I can't
modify the grammar (in theory). But I will try to talk to see if it's
possible to introduce some new keyword like begin.
But, someone has another suggestion for a grammar without begin for
the code block?
Return to the
Search the comp.compilers archives again.