digitalmars.D.bugs - samples: d2html.kwd missing
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (9/16) Nov 09 2004 (dmd-0.106, samples/d/d2html.d program)
- Thomas =?UTF-8?B?S8O8aG5l?= (7/24) Nov 09 2004 It's a long standing issue - at least on Linux :)
- =?UTF-8?B?QW5kZXJzIEYgQmrDtnJrbHVuZA==?= (6/10) Nov 09 2004 Made all the tags upper case, but got the same error...
- Thomas =?UTF-8?B?S8O8aG5l?= (5/15) Nov 09 2004 To basically see what not to do with HTML/XHTML go to
- =?UTF-8?B?QW5kZXJzIEYgQmrDtnJrbHVuZA==?= (5/8) Nov 09 2004 Yeah, and html_tag_space_01 and tml_tag_space_02 are the WORST
- =?UTF-8?B?QW5kZXJzIEYgQmrDtnJrbHVuZA==?= (4/6) Nov 09 2004 My bad. It wasn't the empty element, but that I used
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (5/10) Jan 25 2005 And the old fix is still valid:
(dmd-0.106, samples/d/d2html.d program) Made my own "d2html.kwd" file, from the list at: http://www.digitalmars.com/d/lex.html#keyword ./d2html hello.d hello.html For some reason, "hello.html" does not compile...hello.html:8: expression expected, not ',' hello.html:8: found 'args' when expecting ',' hello.html:10: expression expected, not ',' hello.html:10: found 'i' when expecting ',' hello.html:10: expression expected, not ',' hello.html:10: found 'cast' when expecting ',' hello.html:10: C style cast deprecated, use cast(char*)(args[i])That could be a bug with the gdc compiler, though. Also, the program output is not valid HTML. (http://validator.w3.org/file-upload.html) --anders
Nov 09 2004
Anders F Björklund schrieb am Dienstag, 9. November 2004 11:48:(dmd-0.106, samples/d/d2html.d program) Made my own "d2html.kwd" file, from the list at: http://www.digitalmars.com/d/lex.html#keyword ./d2html hello.d hello.html For some reason, "hello.html" does not compile...It's a long standing issue - at least on Linux :) Simply change: "<code>" -> "<CODE>" "</code>" -> "</CODE>" http://svn.kuehne.cn/dstress/www/dstress.html#html_tag_case_01 Thomashello.html:8: expression expected, not ',' hello.html:8: found 'args' when expecting ',' hello.html:10: expression expected, not ',' hello.html:10: found 'i' when expecting ',' hello.html:10: expression expected, not ',' hello.html:10: found 'cast' when expecting ',' hello.html:10: C style cast deprecated, use cast(char*)(args[i])That could be a bug with the gdc compiler, though.
Nov 09 2004
Thomas Kühne wrote:It's a long standing issue - at least on Linux :) Simply change: "<code>" -> "<CODE>" "</code>" -> "</CODE>"Made all the tags upper case, but got the same error... Besides, plain old HTML *should* be case-insensitive ? And trying to feed the compiler XHTML is even more fun. It misses any empty element, and ignores the whole file. --anders
Nov 09 2004
Anders F Björklund schrieb am Dienstag, 9. November 2004 12:04:To basically see what not to do with HTML/XHTML go to http://svn.kuehne.cn/dstress/www/dstress.html#html_comment_01 scroll down and have fun ;) ThomasIt's a long standing issue - at least on Linux :) Simply change: "<code>" -> "<CODE>" "</code>" -> "</CODE>"Made all the tags upper case, but got the same error... Besides, plain old HTML *should* be case-insensitive ? And trying to feed the compiler XHTML is even more fun. It misses any empty element, and ignores the whole file.
Nov 09 2004
Thomas Kühne wrote:To basically see what not to do with HTML/XHTML go to http://svn.kuehne.cn/dstress/www/dstress.html#html_comment_01 scroll down and have fun ;)Yeah, and html_tag_space_01 and tml_tag_space_02 are the WORST since they force the gdc compiler into an infinite loop... :-( Probably a big-endian issue or something ? --anders
Nov 09 2004
Anders F Björklund wrote:And trying to feed the compiler XHTML is even more fun. It misses any empty element, and ignores the whole file.My bad. It wasn't the empty element, but that I used <pre> Adding a <code> and </code> pair inside, and it worked OK. --anders
Nov 09 2004
Anders F Björklund wrote:(dmd-0.106, samples/d/d2html.d program)This bug still remains:[68] Error: file 'd2html.kwd' not foundAnd the old fix is still valid:Made my own "d2html.kwd" file, from the list at: http://www.digitalmars.com/d/lex.html#keywordThis file has now been attached, hope it can be added ? --anders
Jan 25 2005