mirror of
				https://github.com/Ed94/gencpp.git
				synced 2025-10-30 14:30:53 -07:00 
			
		
		
		
	Bugfix for parse_variable, const check for prefix specifiers causing infinite loop.
This commit is contained in:
		| @@ -5620,7 +5620,7 @@ CodeVar parse_variable() | |||||||
|  |  | ||||||
| 		// Ignore const specifiers, they're handled by the type | 		// Ignore const specifiers, they're handled by the type | ||||||
| 		if ( spec == ESpecifier::Const ) | 		if ( spec == ESpecifier::Const ) | ||||||
| 			continue; | 			break; | ||||||
|  |  | ||||||
| 		specs_found[NumSpecifiers] = spec; | 		specs_found[NumSpecifiers] = spec; | ||||||
| 		NumSpecifiers++; | 		NumSpecifiers++; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user