ext/rbs_extension/constants.c in rbs-1.8.1 vs ext/rbs_extension/constants.c in rbs-2.0.0.pre1
- old
+ new
@@ -4,16 +4,14 @@
VALUE RBS;
VALUE RBS_AST;
VALUE RBS_AST_Comment;
VALUE RBS_AST_Annotation;
+VALUE RBS_AST_TypeParam;
VALUE RBS_AST_Declarations;
-VALUE RBS_AST_Declarations_ModuleTypeParams;
-VALUE RBS_AST_Declarations_ModuleTypeParams_TypeParam;
-
VALUE RBS_AST_Declarations_Alias;
VALUE RBS_AST_Declarations_Constant;
VALUE RBS_AST_Declarations_Global;
VALUE RBS_AST_Declarations_Interface;
VALUE RBS_AST_Declarations_Module;
@@ -75,14 +73,12 @@
RBS = rb_const_get(rb_cObject, id_RBS);
RBS_ParsingError = rb_const_get(RBS, rb_intern("ParsingError"));
RBS_AST = rb_const_get(RBS, rb_intern("AST"));
RBS_AST_Comment = rb_const_get(RBS_AST, rb_intern("Comment"));
RBS_AST_Annotation = rb_const_get(RBS_AST, rb_intern("Annotation"));
+ RBS_AST_TypeParam = rb_const_get(RBS_AST, rb_intern("TypeParam"));
RBS_AST_Declarations = rb_const_get(RBS_AST, rb_intern("Declarations"));
-
- RBS_AST_Declarations_ModuleTypeParams = rb_const_get(RBS_AST_Declarations, rb_intern("ModuleTypeParams"));
- RBS_AST_Declarations_ModuleTypeParams_TypeParam = rb_const_get(RBS_AST_Declarations_ModuleTypeParams, rb_intern("TypeParam"));
RBS_AST_Declarations_Alias = rb_const_get(RBS_AST_Declarations, rb_intern("Alias"));
RBS_AST_Declarations_Constant = rb_const_get(RBS_AST_Declarations, rb_intern("Constant"));
RBS_AST_Declarations_Global = rb_const_get(RBS_AST_Declarations, rb_intern("Global"));
RBS_AST_Declarations_Interface = rb_const_get(RBS_AST_Declarations, rb_intern("Interface"));