Ignore:
Timestamp:
Mar 11, 2018, 9:30:05 AM (19 months ago)
Author:
cameron
Message:

Unicode-lines option; set default linebreak to LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/grep_kernel.cpp

    r5890 r5900  
    11/*
    2  *  Copyright (c) 2017 International Characters.
     2 *  Copyright (c) 2018 International Characters.
    33 *  This software is licensed to the public under the Open Software License 3.0.
    44 */
     
    135135    it.createAssign(nonFinal, it.createAnd(nonFinal, u8valid));
    136136    pb.createAssign(nonFinal, pb.createOr(nonFinal, CRLF));
    137     PabloAST * unterminatedLineAtEOF = pb.createAtEOF(pb.createAdvance(pb.createNot(LineBreak), 1), "unterminatedLineAtEOF");
     137    //PabloAST * unterminatedLineAtEOF = pb.createAtEOF(pb.createAdvance(pb.createNot(LineBreak), 1), "unterminatedLineAtEOF");
    138138   
    139139    Var * const required = getOutputStreamVar("nonFinal");
    140140    pb.createAssign(pb.createExtract(required, pb.getInteger(0)), nonFinal);
    141     pb.createAssign(pb.createExtract(getOutputStreamVar("UnicodeLB"), pb.getInteger(0)), pb.createOr(LineBreak, unterminatedLineAtEOF, "EOL"));
     141    pb.createAssign(pb.createExtract(getOutputStreamVar("UnicodeLB"), pb.getInteger(0)), LineBreak);//pb.createOr(LineBreak, unterminatedLineAtEOF, "EOL"));
    142142}
    143143
Note: See TracChangeset for help on using the changeset viewer.