Mercurial > projects > dil
diff src/TypeRules.d @ 835:451ede0105e0
Applied minor fixes and tidied some code up a bit.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Tue, 12 Aug 2008 02:59:11 +0200 |
parents | bcb74c9b895c |
children | 110f741dab45 |
line wrap: on
line diff
--- a/src/TypeRules.d Mon Aug 11 19:14:28 2008 +0200 +++ b/src/TypeRules.d Tue Aug 12 02:59:11 2008 +0200 @@ -1,14 +1,20 @@ +#! /usr/bin/rdmd /++ Author: Aziz Köksal License: GPL3 +/ module TypeRules; +import TypeRulesData; +import cmd.Highlight : xml_escape; -import cmd.Generate : xml_escape; -import TypeRulesData; import common; +void main(char[][] args) +{ + genHTMLTypeRulesTables(); +} + static const string[] basicTypes = [ "char"[], "wchar", "dchar", "bool", "byte", "ubyte", "short", "ushort", @@ -76,7 +82,8 @@ ` </style>`\n `</head>`\n `<body>`\n - `<p>These tables show what the type results of certain expressions are.</p>`\n + `<p>The following tables show the type results of different expressions. Compiler used: ` ~ + compilerNameVersion ~ `.` ); Stdout.format("<table>\n<tr><th colspan=\"{}\">Unary Expressions</th></tr>\n", unaryExpressions.length);