search for: yyscann

Displaying 7 results from an estimated 7 matches for "yyscann".

Did you mean: yyscan_t
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.
2016 Jul 27
1
[PATCH] builder: fix EOF check with flex >= 2.6.1
...RSION == 6) && (YY_FLEX_SUBMINOR_VERSION >= 1)) +#define IS_EOF 0 +#else +#define IS_EOF EOF +#endif + %} %option nounput @@ -104,7 +112,7 @@ extern void scanner_destroy (yyscan_t scanner); int c, prevnl = 0; /* Eat everything to the first blank line. */ - while ((c = input (yyscanner)) != EOF) { + while ((c = input (yyscanner)) != IS_EOF) { if (c == '\n' && prevnl) break; prevnl = c == '\n'; @@ -116,7 +124,7 @@ extern void scanner_destroy (yyscan_t scanner); /* Hack to eat the PGP epilogue. */ ^"-----BEGIN PGP SIGNATURE-----\n...
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 ?
2006 May 03
0
Can't compile ael_lex.c on HEAD
...ntax error before "YYLTYPE" ael_lex.c:987: warning: function declaration isn't a prototype ael_lex.c:1011: error: syntax error before "YYLTYPE" ael_lex.c:1012: warning: function declaration isn't a prototype ael_lex.c: In function `ael_yylex': ael_lex.c:1016: error: `yyscanner' undeclared (first use in this function) ael_lex.c:1016: error: (Each undeclared identifier is reported only once Any ideas.
2014 Apr 02
2
[PATCH] builder: better handle some index parsing errors
...no; -extern 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
...yylval->str = strndup (yytext+1, yyleng-2); return VALUE_CONT; } @@ -86,7 +90,7 @@ extern void yyerror (const char *); int c, prevnl = 0; /* Eat everything to the first blank line. */ - while ((c = input ()) != EOF) { + while ((c = input (yyscanner)) != EOF) { if (c == '\n' && prevnl) break; prevnl = c == '\n'; @@ -98,7 +102,7 @@ extern void yyerror (const char *); /* Hack to eat the PGP epilogue. */ ^"-----BEGIN PGP SIGNATURE-----\n" { /* Eat everything to the end of the file. */ -...
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