"(" and ")" cause problems in ddoc comments

Walter Bright newshound at digitalmars.com
Fri Aug 11 13:14:44 PDT 2006


BCS wrote:
> Stray, unnested parentheses can cause odd effects in ddoc comments. This 
> can be fixed by using ( and ) but this is a bit clunky. What 
> would be nice would be to have a special character sequence to handle 
> them, something like &lp; and &rp;

I use a macro:

Macros:
	LPAREN = (
	RPAREN = )

and use like:

	$(LPAREN)
	$(RPAREN)



More information about the Digitalmars-d-bugs mailing list