Case Range Statement ..

Bill Baxter wbaxter at gmail.com
Fri Jul 10 07:08:22 PDT 2009


On Thu, Jul 9, 2009 at 9:09 PM, Walter Bright<newshound1 at digitalmars.com> wrote:
> Bill Baxter wrote:
>>
>> If it's internal to the parse tree can't you make the syntax whatever you
>> want?
>> Something like (expr1 __exprSequencer expr2) should do just fine, right?
>> No reason it has to be a precious one-character symbol syntax.
>
> What if you're writing a program that generates D code?

If you're generating code which is so tricky that it needs to rely on
comma expressions, then I doubt it will be something that users will
be expected to read and/or edit.  In which case, again, it doesn't
matter how ugly the syntax is.  "__exprSequencer" would do just fine.

--bb



More information about the Digitalmars-d mailing list