mirror of
				https://github.com/Ed94/gencpp.git
				synced 2025-11-03 23:36:12 -08:00 
			
		
		
		
	pregress on fixing regressions with unreal parsing
https://github.com/Ed94/gencpp/issues/64 is required. Resolving it next
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
			
		||||
// These macros are used in the swtich cases are used within ast.cpp, inteface.upfront.cpp, parser.cpp
 | 
			
		||||
// These macros are used in the swtich cases within ast.cpp, inteface.upfront.cpp, parser.cpp
 | 
			
		||||
 | 
			
		||||
#	define GEN_AST_BODY_CLASS_UNALLOWED_TYPES    \
 | 
			
		||||
#	define GEN_AST_BODY_CLASS_UNALLOWED_TYPES_CASES    \
 | 
			
		||||
	case CT_PlatformAttributes:                  \
 | 
			
		||||
	case CT_Class_Body:                          \
 | 
			
		||||
	case CT_Enum_Body:                           \
 | 
			
		||||
@@ -16,9 +16,9 @@
 | 
			
		||||
	case CT_Specifiers:                          \
 | 
			
		||||
	case CT_Struct_Body:                         \
 | 
			
		||||
	case CT_Typename
 | 
			
		||||
#	define GEN_AST_BODY_STRUCT_UNALLOWED_TYPES GEN_AST_BODY_CLASS_UNALLOWED_TYPES
 | 
			
		||||
#	define GEN_AST_BODY_STRUCT_UNALLOWED_TYPES_CASES GEN_AST_BODY_CLASS_UNALLOWED_TYPES_CASES
 | 
			
		||||
 | 
			
		||||
#	define GEN_AST_BODY_FUNCTION_UNALLOWED_TYPES \
 | 
			
		||||
#	define GEN_AST_BODY_FUNCTION_UNALLOWED_TYPES_CASES \
 | 
			
		||||
	case CT_Access_Public:                          \
 | 
			
		||||
	case CT_Access_Protected:                       \
 | 
			
		||||
	case CT_Access_Private:                         \
 | 
			
		||||
@@ -41,7 +41,7 @@
 | 
			
		||||
	case CT_Struct_Body:                            \
 | 
			
		||||
	case CT_Typename
 | 
			
		||||
 | 
			
		||||
#	define GEN_AST_BODY_GLOBAL_UNALLOWED_TYPES     \
 | 
			
		||||
#	define GEN_AST_BODY_GLOBAL_UNALLOWED_TYPES_CASES     \
 | 
			
		||||
	case CT_Access_Public:                         \
 | 
			
		||||
	case CT_Access_Protected:                      \
 | 
			
		||||
	case CT_Access_Private:                        \
 | 
			
		||||
@@ -58,10 +58,10 @@
 | 
			
		||||
	case CT_Specifiers:                            \
 | 
			
		||||
	case CT_Struct_Body:                           \
 | 
			
		||||
	case CT_Typename
 | 
			
		||||
#	define GEN_AST_BODY_EXPORT_UNALLOWED_TYPES         GEN_AST_BODY_GLOBAL_UNALLOWED_TYPES
 | 
			
		||||
#	define GEN_AST_BODY_EXTERN_LINKAGE_UNALLOWED_TYPES GEN_AST_BODY_GLOBAL_UNALLOWED_TYPES
 | 
			
		||||
#	define GEN_AST_BODY_EXPORT_UNALLOWED_TYPES_CASES         GEN_AST_BODY_GLOBAL_UNALLOWED_TYPES_CASES
 | 
			
		||||
#	define GEN_AST_BODY_EXTERN_LINKAGE_UNALLOWED_TYPES_CASES GEN_AST_BODY_GLOBAL_UNALLOWED_TYPES_CASES
 | 
			
		||||
 | 
			
		||||
#	define GEN_AST_BODY_NAMESPACE_UNALLOWED_TYPES \
 | 
			
		||||
#	define GEN_AST_BODY_NAMESPACE_UNALLOWED_TYPES_CASES \
 | 
			
		||||
	case CT_Access_Public:                        \
 | 
			
		||||
	case CT_Access_Protected:                     \
 | 
			
		||||
	case CT_Access_Private:                       \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user