If a .drv cannot be parsed, show its path
Otherwise you just get ‘expected string `Derive(['’ which isn't very helpful.
This commit is contained in:
		
							parent
							
								
									e0a947cde6
								
							
						
					
					
						commit
						dfa2f77d2e
					
				
					 7 changed files with 22 additions and 10 deletions
				
			
		|  | @ -326,6 +326,8 @@ bool hasSuffix(const string & s, const string & suffix); | |||
| /* Read string `s' from stream `str'. */ | ||||
| void expect(std::istream & str, const string & s); | ||||
| 
 | ||||
| MakeError(FormatError, Error) | ||||
| 
 | ||||
| 
 | ||||
| /* Read a C-style string from stream `str'. */ | ||||
| string parseString(std::istream & str); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue