Browse Source

[python] do not assert when abstracts are caught

Simon Krajewski 10 years ago
parent
commit
e33d891610
1 changed files with 2 additions and 0 deletions
  1. 2 0
      genpy.ml

+ 2 - 0
genpy.ml

@@ -1417,6 +1417,8 @@ module Printer = struct
 					handle_base_type (t_infos (TClassDecl c))
 				| TEnum(en,_) ->
 					handle_base_type (t_infos (TEnumDecl en))
+				| TAbstract(a,_) ->
+					handle_base_type (t_infos (TAbstractDecl a))
 				| _ ->
 					assert false
 		in