Bugzilla – Bug 310958
Optional Attributes for the Compile Unit
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by f_ai@hotmail.com 2002-03-08 16:02:28 MST ---- Description of Problem: According to some c# specs that i have " compilation-unit: using-directivesopt attributesopt namespace-member-declarationsopt " Then clause for 'compilation_unit' should be more like: compilation_unit : opt_using_directives opt_attributes opt_namespace_member_declarations opt_EOF ---- Additional Comments From miguel@ximian.com 2002-03-12 01:36:02 MST ---- I am aware of this problem (this is what is causing the various problems with the assembly attributes). The problem is that changing the grammar will lead to incorrectly applied attributes currently, or will lead to many reduce/reduce errors. The right fix is to rewrite chunks of the attribute-application code, to actually allow for the code to know where to apply the bits. You can try the various effects by changing the rules as you described and re-running the couple of tests we have for attributes in the test suite, that will shed some light into the problem. Miguel. ---- Additional Comments From miguel@ximian.com 2002-03-12 17:41:24 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO21018 *** Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"