lib: replace notChar for backwards compatibility with megaparsec 5
This commit is contained in:
		
							parent
							
								
									728f185508
								
							
						
					
					
						commit
						31b72f0415
					
				| @ -1024,10 +1024,11 @@ bracketedpostingdatesp | |||||||
|   :: Monad m => Maybe Day -> ErroringJournalParser m [(TagName,Day)] |   :: Monad m => Maybe Day -> ErroringJournalParser m [(TagName,Day)] | ||||||
| bracketedpostingdatesp mdefdate = do | bracketedpostingdatesp mdefdate = do | ||||||
|   -- pdbg 0 $ "bracketedpostingdatesp" |   -- pdbg 0 $ "bracketedpostingdatesp" | ||||||
|   skipMany $ notChar '[' |   skipMany $ noneOf ['['] | ||||||
|   fmap concat |   fmap concat | ||||||
|     $ sepEndBy (try (bracketeddatetagsp mdefdate) <|> char '[' *> pure []) |     $ sepEndBy (try (bracketeddatetagsp mdefdate) <|> char '[' *> pure []) | ||||||
|                (skipMany $ notChar '[') |                (skipMany $ noneOf ['[']) | ||||||
|  |   -- using noneOf ['['] in place of notChar '[' for backwards compatibility | ||||||
| 
 | 
 | ||||||
| --- ** bracketed dates | --- ** bracketed dates | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user