mirror of
				https://github.com/Ed94/gencpp.git
				synced 2025-11-03 23:36:12 -08:00 
			
		
		
		
	Fixes for typedef serialization of functions..
Also fix for HashTable<>::rehash_fast not having finished implemenation... The typedef fix is a sort of hack (like how parsing the rest of the language feels like tbh...). I might make a def_typedef_fn to make it clearer how to define function typedefs using the upfront interface.
This commit is contained in:
		@@ -722,7 +722,10 @@ String AST::to_string()
 | 
			
		||||
 | 
			
		||||
			result.append( "typedef ");
 | 
			
		||||
 | 
			
		||||
			result.append_fmt( "%s %s", UnderlyingType->to_string(), Name );
 | 
			
		||||
			if ( IsFunction )
 | 
			
		||||
				result.append( UnderlyingType->to_string() );
 | 
			
		||||
			else
 | 
			
		||||
				result.append_fmt( "%s %s", UnderlyingType->to_string(), Name );
 | 
			
		||||
 | 
			
		||||
			if ( UnderlyingType->Type == Typename && UnderlyingType->ArrExpr )
 | 
			
		||||
			{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user