hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit f193db1db6a935c7dc3b529d89bb06a4fe3ae5e7
parent 7017a4e5f023bc2d569b7f838b7df74aaaf1c046
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon, 19 Apr 2021 17:38:58 -0400

haredoc: remove type emitting hack

To be replaced with the real deal soon enough

Diffstat:
Mcmd/haredoc/html.ha | 8+-------
1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/cmd/haredoc/html.ha b/cmd/haredoc/html.ha @@ -200,15 +200,9 @@ fn type_html( }; // TODO: More detailed formatter which can find aliases nested deeper in - // other types + // other types and highlight more keywords, like const let z = 0z; match (_type._type) { - ast::alias_type => { - // TODO: Make this link real - z += fmt::fprint(out, "<a href='#'>")?; - z += html::escape(out, strio::string(buf))?; - z += fmt::fprint(out, "</a>")?; - }, ast::builtin_type => { z += fmt::fprint(out, "<span class='type'>")?; z += html::escape(out, strio::string(buf))?;