Project

General

Profile

Bug #1311 » syck_scan_scalar.patch

daz (Dave B), 03/25/2009 09:54 PM

View differences:

emitter.c (working copy)
flags |= SCAN_MANYNL_E;
}
if (
( len > 0 && ( cursor[0] == ' ' || cursor[0] == '\t' ) ) ||
( len > 0 && ( cursor[0] == ' ' || cursor[0] == '\t' || cursor[0] == '\n' ) ) ||
( len > 1 && ( cursor[len-1] == ' ' || cursor[len-1] == '\t' ) )
) {
flags |= SCAN_WHITEEDGE;
(1-1/5)