Fix a thinko
authorDodji Seketeli <dodji@redhat.com>
Fri, 18 Jan 2019 09:40:31 +0000 (10:40 +0100)
committerDodji Seketeli <dodji@redhat.com>
Fri, 18 Jan 2019 09:40:31 +0000 (10:40 +0100)
* src/abg-dwarf-reader.cc (dwarf_language_to_tu_language): Fix a
thinko in the detection of the support of the DW_LANG_Rust enumerator.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
src/abg-dwarf-reader.cc

index aa9d147..a15ff4d 100644 (file)
@@ -12228,8 +12228,8 @@ dwarf_language_to_tu_language(size_t l)
       return translation_unit::LANG_ObjC_plus_plus;
 #ifdef DW_LANG_Rust
     case DW_LANG_Rust:
-#endif
       return translation_unit::LANG_Rust;
+#endif
 #ifdef DW_LANG_UPC
     case DW_LANG_UPC:
       return DW_LANG_UPC;