mirror of
				https://github.com/Ed94/gencpp.git
				synced 2025-10-31 06:50:53 -07:00 
			
		
		
		
	correction to Specifier codegen
This commit is contained in:
		| @@ -39,7 +39,7 @@ enum Specifier : u32 | ||||
|  | ||||
| inline Str spec_to_str( Specifier type ) | ||||
| { | ||||
| 	local_persist Str lookup[26] = { | ||||
| 	local_persist Str lookup[] = { | ||||
| 		{ "INVALID",       sizeof( "INVALID" ) - 1       }, | ||||
| 		{ "consteval",     sizeof( "consteval" ) - 1     }, | ||||
| 		{ "constexpr",     sizeof( "constexpr" ) - 1     }, | ||||
|   | ||||
| @@ -237,7 +237,7 @@ CodeBody gen_especifier( char const* path, bool use_c_definition = false ) | ||||
| 		Str spec_to_str( Specifier type ) | ||||
| 		{ | ||||
| 			local_persist | ||||
| 			Str lookup[<num>] = { | ||||
| 			Str lookup[] = { | ||||
| 				<entries> | ||||
| 			}; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user