On 2016-04-10 06:36, Claes Redestad wrote:
For completeness, maybe we should also check that the value is not part of a continuation:

                            // Check that  the value is followed by a
                            // newline and does not have a continuation
                            if ((c == '\r' || c == '\n') &&
(i + 1 == b.length || b[i + 1] != ' ')) {
                                isMultiRelease = true;
}

Scratch that, this would fail to check for \r\n followed by space, thus incomplete.

/Claes

Reply via email to