• B
    [ragel] Switch to -T1 output instead of -F1 · ae8719eb
    Behdad Esfahbod 提交于
    Fedora upgraded to ragel 7, which is buggy if char is signed.
    Switching to -G2 output fails with sign-compare error:
    
    ../../src/hb-buffer-deserialize-json.hh:107:12: error: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘const char’ [-Werror=sign-compare]
        if ( 9u <= ( (*( p))) && ( (*( p))) <= 13u ) {
             ~~~^~~~~~~~~~~~~
    
    Switching to -T1 for now.  It actually results in smaller code,
    at the expense of some binary searching instead of flat tables.
    In the not distant future, we might actually generate two different
    outputs and choose between depending on size-optimize options.
    
    Fixes https://github.com/harfbuzz/harfbuzz/issues/1708
    ae8719eb
hb-ot-shape-complex-use-machine.hh 33.3 KB