mirror of
				https://github.com/Laupetin/OpenAssetTools.git
				synced 2025-10-31 10:36:58 +00:00 
			
		
		
		
	Make defines proxy accept whitespace
This commit is contained in:
		| @@ -137,6 +137,9 @@ std::vector<std::string> DefinesStreamProxy::MatchDefineParameters(const ParserL | ||||
|         if (!ExtractIdentifier(line, parameterPosition)) | ||||
|             throw ParsingException(CreatePos(line, parameterPosition), "Cannot extract name of parameter of define"); | ||||
|  | ||||
|         if(!SkipWhitespace(line, parameterPosition)) | ||||
|             throw ParsingException(CreatePos(line, parameterPosition), "Unclosed define parameters"); | ||||
|  | ||||
|         parameters.emplace_back(std::string(line.m_line, nameStartPos, parameterPosition - nameStartPos)); | ||||
|  | ||||
|         if (parameterPosition >= line.m_line.size()) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user