File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 878
878
".ascii \" return self.val.cast(gdb.lookup_type('zend_ast_zval'))\\n\"\n"
879
879
".ascii \" if kind == enum_value('ZEND_AST_OP_ARRAY'):\\n\"\n"
880
880
".ascii \" return self.val.cast(gdb.lookup_type('zend_ast_op_array'))\\n\"\n"
881
+ ".ascii \" if kind == enum_value('ZEND_AST_CALLABLE_CONVERT'):\\n\"\n"
882
+ ".ascii \" return self.val.cast(gdb.lookup_type('zend_ast_fcc'))\\n\"\n"
881
883
".ascii \" if kind == enum_value('ZEND_AST_ZNODE'):\\n\"\n"
882
884
".ascii \" return self.val.cast(gdb.lookup_type('zend_ast_znode'))\\n\"\n"
883
885
".ascii \" if self.is_decl():\\n\"\n"
906
908
".ascii \"pp_set.add_printer('zend_ast_decl', '^_zend_ast_decl$', ZendAstPrettyPrinter)\\n\"\n"
907
909
".ascii \"pp_set.add_printer('zend_ast_list', '^_zend_ast_list$', ZendAstPrettyPrinter)\\n\"\n"
908
910
".ascii \"pp_set.add_printer('zend_ast_op_array', '^_zend_ast_op_array$', ZendAstPrettyPrinter)\\n\"\n"
911
+ ".ascii \"pp_set.add_printer('zend_ast_fcc', '^_zend_ast_fcc$', ZendAstPrettyPrinter)\\n\"\n"
909
912
".ascii \"pp_set.add_printer('zend_ast_zval', '^_zend_ast_zval$', ZendAstPrettyPrinter)\\n\"\n"
910
913
".ascii \"pp_set.add_printer('zend_ast_znode', '^_zend_ast_znode$', ZendAstPrettyPrinter)\\n\"\n"
911
914
".ascii \"\\n\"\n"
Original file line number Diff line number Diff line change @@ -208,6 +208,8 @@ def cast(self):
208
208
return self .val .cast (gdb .lookup_type ('zend_ast_zval' ))
209
209
if kind == enum_value ('ZEND_AST_OP_ARRAY' ):
210
210
return self .val .cast (gdb .lookup_type ('zend_ast_op_array' ))
211
+ if kind == enum_value ('ZEND_AST_CALLABLE_CONVERT' ):
212
+ return self .val .cast (gdb .lookup_type ('zend_ast_fcc' ))
211
213
if kind == enum_value ('ZEND_AST_ZNODE' ):
212
214
return self .val .cast (gdb .lookup_type ('zend_ast_znode' ))
213
215
if self .is_decl ():
@@ -236,6 +238,7 @@ def num_children(self):
236
238
pp_set .add_printer ('zend_ast_decl' , '^_zend_ast_decl$' , ZendAstPrettyPrinter )
237
239
pp_set .add_printer ('zend_ast_list' , '^_zend_ast_list$' , ZendAstPrettyPrinter )
238
240
pp_set .add_printer ('zend_ast_op_array' , '^_zend_ast_op_array$' , ZendAstPrettyPrinter )
241
+ pp_set .add_printer ('zend_ast_fcc' , '^_zend_ast_fcc$' , ZendAstPrettyPrinter )
239
242
pp_set .add_printer ('zend_ast_zval' , '^_zend_ast_zval$' , ZendAstPrettyPrinter )
240
243
pp_set .add_printer ('zend_ast_znode' , '^_zend_ast_znode$' , ZendAstPrettyPrinter )
241
244
You can’t perform that action at this time.
0 commit comments