From 752abae33821117456300793288fb66504fb77b1 Mon Sep 17 00:00:00 2001 From: cremet Date: Mon, 19 Jan 2004 18:18:40 +0000 Subject: - Fixed bugs in Scaladoc. - Added XHTML validation of documentation comments. --- sources/scalac/typechecker/Analyzer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sources/scalac/typechecker') diff --git a/sources/scalac/typechecker/Analyzer.java b/sources/scalac/typechecker/Analyzer.java index 84c9c6b4a4..174dd6269f 100644 --- a/sources/scalac/typechecker/Analyzer.java +++ b/sources/scalac/typechecker/Analyzer.java @@ -16,6 +16,7 @@ package scalac.typechecker; import ch.epfl.lamp.util.Position; +import ch.epfl.lamp.util.Pair; import scalac.*; import scalac.util.*; import scalac.ast.*; @@ -830,7 +831,7 @@ public class Analyzer extends Transformer implements Modifiers, Kinds { // set the comment associated with a symbol String comment = (String) global.mapTreeComment.get(tree); if (comment != null) - global.mapSymbolComment.put(sym, comment); + global.mapSymbolComment.put(sym, new Pair(comment, unit)); return sym; } -- cgit v1.2.3