[Mono-devel-list] jay CLScompliant patch

Atsushi Eno ginga at kit.hi-ho.ne.jp
Mon Oct 6 22:24:47 EDT 2003


Hello,

Today I noticed that current jay cannot output CLS compliant C# code
since it outputs yyname() and yyName[]. yyName[] looks to be changed
easily, so I modified this name to yyNames[]. (jay-clscompliant.patch)

The worst thing about this patch is that yyName is "protected" so that
some jay users might use yyName in their own code. At least mcs and gmcs
use it, although we can modify as for these .jay files.
(mcs-jay-compliant.patch and gmcs-jay-compliant.patch)

As far as I saw, no other parsers (mbas/ilasm/xpath) do not use yyName[]
as yet.

Which would be preferable, to change or to remain?

Thanks,
Atsushi Eno
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mcs-jay-clscompliant.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20031007/4efc0d9b/attachment.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: jay-clscompliant.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20031007/4efc0d9b/attachment-0001.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gmcs-jay-clscompliant.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20031007/4efc0d9b/attachment-0002.pl 


More information about the Mono-devel-list mailing list