www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - "(" and ")" cause problems in ddoc comments

reply BCS <BCS pathlink.com> writes:
Stray, unnested parentheses can cause odd effects in ddoc comments. This 

would be nice would be to have a special character sequence to handle 
them, something like &lp; and &rp;
Aug 11 2006
parent Walter Bright <newshound digitalmars.com> writes:
BCS wrote:
 Stray, unnested parentheses can cause odd effects in ddoc comments. This 

 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)
Aug 11 2006