Displaying 1 result from an estimated 1 matches for "f5e551b".
Did you mean:
f56551ba
2014 Jan 21
1
[PATCH] builder: allow more empty lines in index files
...tp allow more than one empty line between
sections, and to allow any number of empty lines at the end of the file
(after the last section).
---
builder/index-parse.y | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/builder/index-parse.y b/builder/index-parse.y
index f5e551b..a8d2f62 100644
--- a/builder/index-parse.y
+++ b/builder/index-parse.y
@@ -80,10 +80,10 @@ index:
{ parsed_index = $2; }
sections:
- section
+ section emptylines
{ $$ = $1; }
- | section EMPTY_LINE sections
- { $$ = $1; $$->next = $3; }
+ | section EM...