synchronized keyword

Carlos Smith carlos-smith at sympatico.ca
Wed Mar 21 20:35:06 PDT 2007


I am working on a LALR grammar for D.
The grammar will be a complete grammar as per DMD 1.009.

I am almost done, and will publish it
sometimes tomorrow.

But the synchronize keyword is the cause of
a great (~ 40) number of shift-reduce conflicts.

And it's because synchronized is both defined
as a strorage class, ans used as the start of the
synchronized statement.

My questions are:

Is synchronized still a storage
class, or was it left there in the grammar, after
the synchronized statement has been created ?

Can i eliminate synchronized as a storage class ?

Thanks




More information about the Digitalmars-d mailing list