Things that may be removed

Stewart Gordon smjg_1998 at yahoo.com
Sat Dec 20 16:26:43 PST 2008


"Christian Kamm" <kamm-incasoftware at removethis.de> wrote in message 
news:gicsm9$2qiv$1 at digitalmars.com...
<snip>
> Maybe we could enable them conditionally?
>
> pragma(parser, enable_cstyle_func_and_array_decls);
> {
>    int (*x[5])[3];
> }

What would this do?  Enable C-style declarations for the whole source file? 
>From this point forward?  Within the active scope?  If it's meant to apply 
to the content of the given {}, then there should be a semicolon there.

Either way, it wouldn't work.  The whole point of pragmas is for features 
that a given compiler may or may not support.  And if a given compiler 
doesn't support this syntax, it will fail regardless.

Stewart.

-- 
My e-mail address is valid but not my primary mailbox.  Please keep replies 
on the 'group where everybody may benefit. 




More information about the Digitalmars-d mailing list