search for: a8d2f62

Displaying 2 results from an estimated 2 matches for "a8d2f62".

Did you mean: a83d2f60
2014 Jan 21
1
[PATCH] builder: allow more empty lines in index files
...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 EMPTY_LINE...
2014 Mar 19
7
[PATCH 1/3] builder: make the C index parser reentrant
...++++++++++++++++++--------------- builder/index-struct.c | 14 +++++++++----- builder/index-struct.h | 19 +++++++++++------- builder/index-validate.c | 20 +++++++++++-------- 6 files changed, 120 insertions(+), 51 deletions(-) diff --git a/builder/index-parse.y b/builder/index-parse.y index a8d2f62..dee2aec 100644 --- a/builder/index-parse.y +++ b/builder/index-parse.y @@ -24,9 +24,14 @@ #include <string.h> #include "index-struct.h" +#include "index-parse.h" -extern void yyerror (const char *); -extern int yylex (void); +#define YY_EXTRA_TYPE struct parse_conte...