Project

General

Profile

Bug #1311 ยป syck_scan_scalar.patch

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

View differences:

emitter.c (working copy)
570 570
        flags |= SCAN_MANYNL_E;
571 571
    }
572 572
    if ( 
573
        ( len > 0 && ( cursor[0] == ' ' || cursor[0] == '\t' ) ) ||
573
        ( len > 0 && ( cursor[0] == ' ' || cursor[0] == '\t' || cursor[0] == '\n' ) ) ||
574 574
        ( len > 1 && ( cursor[len-1] == ' ' || cursor[len-1] == '\t' ) )
575 575
    ) {
576 576
        flags |= SCAN_WHITEEDGE;