parse comment lines beginning with a space, as from M-; in emacs ledger-mode
This commit is contained in:
		
							parent
							
								
									7879ca63ca
								
							
						
					
					
						commit
						64c6082c23
					
				| @ -191,6 +191,7 @@ blankline = | |||||||
| 
 | 
 | ||||||
| commentline :: Parser String | commentline :: Parser String | ||||||
| commentline = do | commentline = do | ||||||
|  |   many spacenonewline | ||||||
|   char ';' <?> "comment line" |   char ';' <?> "comment line" | ||||||
|   l <- restofline |   l <- restofline | ||||||
|   return $ ";" ++ l |   return $ ";" ++ l | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user