diff trunk/src/Messages.d @ 272:0bde32503976

- Added module HtmlEntities. It contains a table for converting HTML entities to Unicode characters. - The lexer converts HTML entities to Unicode characters now. - Added UndefinedHTMLEntity to messages table.
author aziz
date Sun, 05 Aug 2007 10:19:00 +0000
parents 32d354584b28
children b4d842b0d2c7
line wrap: on
line diff
--- a/trunk/src/Messages.d	Sat Aug 04 19:49:01 2007 +0000
+++ b/trunk/src/Messages.d	Sun Aug 05 10:19:00 2007 +0000
@@ -34,6 +34,7 @@
   UndefinedEscapeSequence,
   InsufficientHexDigits,
   // \&[a-zA-Z][a-zA-Z0-9]+;
+  UndefinedHTMLEntity,
   UnterminatedHTMLEntity,
   InvalidBeginHTMLEntity,
   // integer overflows
@@ -83,7 +84,8 @@
   "found undefined escape sequence.",
   "insufficient number of hex digits in escape sequence.",
   // \&[a-zA-Z][a-zA-Z0-9]+;
-  "unterminated html entity.",
+  "undefined HTML entity '{1}'",
+  "unterminated HTML entity.",
   "html entities must begin with a letter.",
   // integer overflows
   "decimal number overflows sign bit.",