[Mono-dev] mcs patch for preprocessor directive
Atsushi Eno
atsushi at ximian.com
Mon Aug 29 01:28:59 EDT 2005
Hi,
Here is a patch that contains some preprocessor fixes:
- It didn't report expected location (tiny fix).
- When -langversion:ISO-1 is specified, #pragma directive
is always checked, even when it is actually disabled
by #if directive. (Because of this bug, currently
mscorlib cannot be compiled with csc.)
- Syntax for #define and #undef are checked even when
they are inside disabled block.
- On the other hand, syntax for #line directive is
not checked unless it is enabled.
Attached a small example repro code.
Atsushi Eno
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: preprocessor-fix.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050829/5dd72e28/attachment.pl
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pragma-warning.cs
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050829/5dd72e28/attachment-0001.pl
More information about the Mono-devel-list
mailing list