fn parse_flag_bit_debugging(input: &str) -> IResult<&str, SymbolDebugging> {
    let result = one_of("dD ")(input)?;
    match result.1 {
        'd' => Ok((result.0, SymbolDebugging::Debug)),
        'D' => Ok((result.0, SymbolDebugging::Dynamic)),
        ' ' => Ok((result.0, SymbolDebugging::Regular)),
        _ => Err(nom::Err::Error(nom::error::Error {
            input,
            code: ErrorKind::Char,
        })),
    }
}
/// Parses debug symbols from the flag bits
Parses debug symbols from the flag bits
Parses debug symbols from the flag bits
fn parse_flag_bit_debugging(input: &str) -> IResult<&str, SymbolDebugging> {
    let result = one_of("dD ")(input)?;
    match result.1 {
        'd' => Ok((result.0, SymbolDebugging::Debug)),
        'D' => Ok((result.0, SymbolDebugging::Dynamic)),
        ' ' => Ok((result.0, SymbolDebugging::Regular)),
        _ => Err(nom::Err::Error(nom::error::Error {
            input,
            code: ErrorKind::Char,
        })),
    }
}
fn parse_flag_bit_debugging ( input : & str ) -> IResult < & str , SymbolDebugging > { let result = one_of ( " " ) ( input ) ? ; match result . 1 { 'd' => Ok ( ( result . 0 , SymbolDebugging :: Debug ) ) , 'D' => Ok ( ( result . 0 , SymbolDebugging :: Dynamic ) ) , ' ' => Ok ( ( result . 0 , SymbolDebugging :: Regular ) ) , _ => Err ( nom :: Err :: Error ( nom :: error :: Error { input , code : ErrorKind :: Char , } ) ) , } }
Parses debug symbols from the flag bits
Parses debug symbols from the flag bits
input
&str