Ticket #66716: patch-manopen-flex.diff

File patch-manopen-flex.diff, 1.2 KB (added by kencu (Ken), 14 months ago)

fix for flex from referenced commit

  • ./ManOpen/cat2html.tproj/cat2html.l

    old new  
    116116
    117117    static void emitBackspacedLetters(char *charblock, yy_size_t lengthLeft, int doBold)
    118118    {
    119         /* If there's a trailing backspace, then both letters are deleted, so print nothing */
     119        /* If there is a trailing backspace, then both letters are deleted, so print nothing */
    120120        if (lengthLeft >= 4 && charblock[3] == '\010')
    121121            return;
    122122
     
    273273    /*
    274274     *    nroff bullets
    275275     */
    276 o\010"+"               emitRaw("·");   // "•" doesn't work
     276o\010"+"               emitRaw("·");   // "•" does not work
    277277"+"\010o               emitRaw("·");
    278278o\010o\010"+"\010"+"   emitRaw("·");
    279279"+"\010"+\010"o\010o   emitRaw("·");
     
    352352
    353353    yy_flex_debug = 0;
    354354
    355     /* Keep the same args as cat2rtf, even though -s doesn't really make much difference */
     355    /* Keep the same args as cat2rtf, even though -s does not really make much difference */
    356356    while ((c = getopt(argc, argv, "dgGiISs:lH")) != EOF)
    357357    {
    358358        switch( c ) {