Greetings, New line handling in the config files needs surgery. See also bug #823455 at <https://sourceforge.net/tracker/?func=detail&aid=823455&group_id=4593&atid=104593>
Cheers, Lachlan On Wed, 19 Nov 2003 04:50, Gilles Detillieux wrote: > I don't see anything in HtConfiguration.cc, conf_lexer.lxx, or > conf_parser.yxx that would allow us to intercept the unterminated > last line and add the newline to it, so it would be taken by the > lexer to be a full line. That means the only way to deal with > this, short of telling users "tough luck, just properly terminate > your files," would be to rewrite the grammar in conf_lexer.lxx to > be less dependent on newlines. Maybe define an EOL character class > that can be \n or EOF, and use that instead of \n everywhere? But > would this break the current EOF handling, or something else? I > don't understand lex/flex enough to venture into this. -- [EMAIL PROTECTED] ht://Dig developer DownUnder (http://www.htdig.org) ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ ht://Dig Developer mailing list: [EMAIL PROTECTED] List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-dev