search for: 68e3863

Displaying 2 results from an estimated 2 matches for "68e3863".

Did you mean: 68386
2014 Apr 22
3
[PATCH 1/2] builder: add an optional suffix string for INI parsing errors
...h +++ b/builder/index-struct.h @@ -45,6 +45,7 @@ struct parse_context { int seen_comments; const char *input_file; const char *program_name; + const char *error_suffix; }; /* Initialize the content of a parse_context. */ diff --git a/builder/ini_reader.ml b/builder/ini_reader.ml index 68e3863..c64125c 100644 --- a/builder/ini_reader.ml +++ b/builder/ini_reader.ml @@ -27,10 +27,10 @@ and c_section = string * c_fields (* [name] + fields *) and c_fields = field array (* Calls yyparse in the C code. *) -external parse_index : prog:string -> string -> c_sections = &quot...
2014 Mar 19
7
[PATCH 1/3] builder: make the C index parser reentrant
Switch the lex/yacc parser into reentrant mode, to ease the handling of parsing-specific data; introduce a new parser_context struct for that, which is added as extra data to the parser. This should cause no behaviour changes in the parsing, just no more global variables used for getting data in/out the parser. --- builder/index-parse.y | 44 ++++++++++++++++++++++++++++++++++++------