Displaying 5 results from an estimated 5 matches for "yyextra".
2014 Apr 02
2
[PATCH] builder: better handle some index parsing errors
...rn void yyerror (YYLTYPE * yylloc, yyscan_t scanner, struct parse_context *context, const char *msg);
-
%}
%option nounput
@@ -110,8 +108,7 @@ extern void yyerror (YYLTYPE * yylloc, yyscan_t scanner, struct parse_context *c
/* anything else is an error */
. {
- yyerror (yylloc, yyscanner, yyextra, "unexpected character in input");
- exit (EXIT_FAILURE);
+ return UNKNOWN_LINE;
}
%%
--
1.9.0
2014 Mar 19
7
[PATCH 1/3] builder: make the C index parser reentrant
...on reentrant
+%option bison-bridge
+%option bison-locations
%%
@@ -46,38 +50,38 @@ extern void yyerror (const char *);
*/
/* Ignore comments - '#' MUST appear at the start of a line. */
-^"#".*\n { seen_comments++; }
+^"#".*\n { yyextra->seen_comments++; }
/* An empty line is significant. */
^\n { return EMPTY_LINE; }
/* [...] marks beginning of a section. */
^"["[-A-Za-z0-9._]+"]"\n {
- yylval.str = strndup (yytext+1, yyleng-3);
+...
2011 Jun 02
48
[PATCH 0/9] libxl: disk configuration handling
This is v3 of my disk series. What were previously patches 01-06 have
been applied. These are the tested and updated remainder, addressing
the previous comments.
1 Preparatory work.
2-4 The new parser and its documentation.
5-6 Replace old parsers with calls to the new one.
7-8 Two features, one of them essential.
9 Basic test suite for disk string parsing, as adhoc script.
2015 Jul 08
7
[PATCH 0/6] RFC: basic subscription-manager support in virt-customize
Hi,
this series introduces a basic support for
registering/attaching/unregistering RHEL guests using
subscription-manager, so it is possible to do for example:
$ cat <<EOF > sm.conf
[general]
username=user
password=pass
[attach-0]
pool=ID
EOF
$ virt-customize -a rhel-guest.qcow2 \
--sm-config sm.conf --sm-register --sm-attach 0 \
--install pkg1 --install pkg2
2013 Nov 26
7
[PATCH RESEND 0/1] libxl: introduce an option for disabling the non-O_DIRECT
I think I posted this patch before, but it looks like it was in
December 2012 (!).
1/1 libxl: introduce an option for disabling the non-O_DIRECT workaround
Ideally it would go into 4.4, at least. Provided the corresponding
qemu part has gone into qemu-xen, which I think it has. Can anyone
confirm ?