shouting versus dotting

KennyTM~ kennytm at gmail.com
Sun Oct 5 09:09:25 PDT 2008


Sean Kelly wrote:
> Andrei Alexandrescu wrote:
>> Sean Kelly wrote:
>>>
>>> Will do.  It's easy enough to search-replace '!' with '.'
>>
>> You'll need a sed expression to not catch unary ! and != as well.
> 
> Nah, just replace "!(" with ".("  I basically never use "!(exp)" in 
> conditions so there should be no problems.
> 
> 
> Sean

auto reply = "Oh I didn't know that!(sarcasm)";


And for some unknown reason I decided to write

   templateName!          (templateParameter).etc;



I believe we require a lexer unless you know you won't write these bad 
(but valid) code.



More information about the Digitalmars-d mailing list