Bug 310958 (MONO21598) - Optional Attributes for the Compile Unit
Summary: Optional Attributes for the Compile Unit
Status: RESOLVED MOVED
Alias: MONO21598
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-08 23:02 UTC by Felix Arrese-Igor
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 17:55:19 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"