• Caolán McNamara's avatar
    The idl encoding table stuff appears to be a no-op, converts x to x · bca5c1a4
    Caolán McNamara yazdı
    1.a) There is only one call to SvTokenStream::SetCharSet
    2.b) That call is from SvTokenStream::InitCtor and the argument is
       gsl_getSystemTextEncoding()
    
    2.a) SvTokenStream::SetCharSet is the sole caller of SvChar::GetTable
       i.e.
       pCharTab = SvChar::GetTable( nSet, gsl_getSystemTextEncoding() );
    2.b) so this is in practive only ever...
       pCharTab = SvChar::GetTable( gsl_getSystemTextEncoding(),
            gsl_getSystemTextEncoding() );
    
    3) SvChar::GetTable returns a table for converting from one encoding to
       another.
    
    4) so the whole thing is a no-op, i.e.
       pCharTab can be dropped
       SvChar::GetTable is then unused and can be dropped
       SetCharSet and GetCharSet are then also unused
    bca5c1a4
lex.hxx 8.81 KB