Mercurial > projects > ddmd
view dmd/ddoc/Escape.d @ 152:4092a614a9f3
moved Escape and Macro to ddoc folder
author | Trass3r |
---|---|
date | Wed, 15 Sep 2010 03:00:30 +0200 |
parents | dmd/Escape.d@766e6dc390e1 |
children |
line wrap: on
line source
module dmd.ddoc.Escape; struct Escape { string[256] strings; /*************************************** * Find character string to replace c with. */ static string escapeChar(char c) { switch (c) { case '<': return "<"; case '>': return ">"; case '&': return "&"; default: return null; } } }