Created
January 27, 2014 21:15
-
-
Save raphink/8657447 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/lenses/yum.aug | |
+++ b/lenses/yum.aug | |
@@ -19,7 +19,7 @@ let eol = IniFile.eol | |
let list_entry (list_key:string) = | |
let list_value = store /[^# \t\n,][^ \t\n,]*[^# \t\n,]|[^# \t\n,]/ in | |
let list_sep = del /([ \t]*(,[ \t]*|\n[ \t]+))|[ \t]+/ "\n\t" in | |
- [ key list_key . sep . list_value ] | |
+ [ key list_key . sep . Sep.opt_space . list_value ] | |
. (list_sep . Build.opt_list [ label list_key . list_value ] list_sep)? | |
. eol | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment