fix: bin: Remove old function in hledger-print-location.
This commit is contained in:
		
							parent
							
								
									1aff74f702
								
							
						
					
					
						commit
						28b52fcca5
					
				| @ -43,7 +43,7 @@ main = do | |||||||
| addLocationTag :: Transaction -> Transaction | addLocationTag :: Transaction -> Transaction | ||||||
| addLocationTag t = t{tcomment = tcomment t `commentAddTagNextLine` loctag} | addLocationTag t = t{tcomment = tcomment t `commentAddTagNextLine` loctag} | ||||||
|   where |   where | ||||||
|     loctag = ("location", T.pack . showSourcePosPair $ tsourcepos t) |     loctag = ("location", T.pack . sourcePosPairPretty $ tsourcepos t) | ||||||
| 
 | 
 | ||||||
| -- Like showSourcePosPair in Hledger.Data.Transaction, but show just the starting line number. | -- Like showSourcePosPair in Hledger.Data.Transaction, but show just the starting line number. | ||||||
| showSourcePosPairLine :: (SourcePos, SourcePos) -> String | showSourcePosPairLine :: (SourcePos, SourcePos) -> String | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user