Sorry, the patch I sent earlier wouldn't compile. I'm sending the correct one.
-- /Dmitry <[EMAIL PROTECTED]>
--- src/parser.c 2005-03-11 10:34:08.000000000 +1300 +++ /home/dmaks/parser.c 2006-07-13 17:47:28.000000000 +1200 @@ -323,14 +323,16 @@ return; } - - int ContinuationCheck(char *rule) { char *idx; /* indexing var for moving around on the string */ + int got_eol = 0; idx = rule + strlen(rule) - 1; + if (*idx != '\n') + got_eol = 1; + DEBUG_WRAP(DebugMessage(DEBUG_CONFIGRULES,"initial idx set to \'%c\'\n", *idx);); @@ -349,6 +351,9 @@ return 1; } + if (got_eol) + return 1; + return 0; }