[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] libxl: add missing copyright notices to autogenerated files
# HG changeset patch # User Ian Jackson <ian.jackson@xxxxxxxxxxxxx> # Date 1307036792 -3600 # Node ID 430dc2f65562a5b1e1e061942d6211339fd4091a # Parent f93a0521ab501471fe49eddb21ffaca82b6a67fa libxl: add missing copyright notices to autogenerated files Copyright notices in libxlu_cfg_[ly].[ly] end up in the .[ch] files, copied there by flex and bison. Regenerate those files (flex 2.5.35 and bison 2.3, from Debian lenny i386). No manual edits in this patch. Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> Committed-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> --- diff -r f93a0521ab50 -r 430dc2f65562 tools/libxl/libxlu_cfg_l.c --- a/tools/libxl/libxlu_cfg_l.c Thu Jun 02 18:46:31 2011 +0100 +++ b/tools/libxl/libxlu_cfg_l.c Thu Jun 02 18:46:32 2011 +0100 @@ -479,7 +479,23 @@ #define YY_RESTORE_YY_MORE_OFFSET #line 1 "libxlu_cfg_l.l" /* -*- fundamental -*- */ -#line 4 "libxlu_cfg_l.l" +/* + * libxlu_cfg_l.l - xl configuration file parsing: lexer + * + * Copyright (C) 2010 Citrix Ltd. + * Author Ian Jackson <ian.jackson@xxxxxxxxxxxxx> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation; version 2.1 only. with the special + * exception on linking described in file LICENSE. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + */ +#line 20 "libxlu_cfg_l.l" #include "libxlu_cfg_i.h" #define ctx ((CfgParseContext*)yyextra) @@ -498,7 +514,7 @@ void xlu__cfg_yyset_column(int column_no, yyscan_t yyscanner); -#line 502 "libxlu_cfg_l.c" +#line 518 "libxlu_cfg_l.c" #define INITIAL 0 #define lexerr 1 @@ -743,10 +759,10 @@ register int yy_act; struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -#line 37 "libxlu_cfg_l.l" +#line 53 "libxlu_cfg_l.l" -#line 750 "libxlu_cfg_l.c" +#line 766 "libxlu_cfg_l.c" yylval = yylval_param; @@ -849,7 +865,7 @@ case 1: YY_RULE_SETUP -#line 39 "libxlu_cfg_l.l" +#line 55 "libxlu_cfg_l.l" { yylval->string= xlu__cfgl_strdup(ctx,yytext); GOT(IDENT); @@ -857,7 +873,7 @@ YY_BREAK case 2: YY_RULE_SETUP -#line 43 "libxlu_cfg_l.l" +#line 59 "libxlu_cfg_l.l" { yylval->string= xlu__cfgl_strdup(ctx,yytext); GOT(NUMBER); @@ -865,43 +881,43 @@ YY_BREAK case 3: YY_RULE_SETUP -#line 48 "libxlu_cfg_l.l" +#line 64 "libxlu_cfg_l.l" YY_BREAK case 4: YY_RULE_SETUP -#line 50 "libxlu_cfg_l.l" +#line 66 "libxlu_cfg_l.l" { GOT(','); } YY_BREAK case 5: YY_RULE_SETUP -#line 51 "libxlu_cfg_l.l" +#line 67 "libxlu_cfg_l.l" { GOT('['); } YY_BREAK case 6: YY_RULE_SETUP -#line 52 "libxlu_cfg_l.l" +#line 68 "libxlu_cfg_l.l" { GOT(']'); } YY_BREAK case 7: YY_RULE_SETUP -#line 53 "libxlu_cfg_l.l" +#line 69 "libxlu_cfg_l.l" { GOT('='); } YY_BREAK case 8: YY_RULE_SETUP -#line 54 "libxlu_cfg_l.l" +#line 70 "libxlu_cfg_l.l" { GOT(';'); } YY_BREAK case 9: /* rule 9 can match eol */ YY_RULE_SETUP -#line 56 "libxlu_cfg_l.l" +#line 72 "libxlu_cfg_l.l" { yylloc->first_line= yylineno-1; return NEWLINE; } YY_BREAK case 10: YY_RULE_SETUP -#line 58 "libxlu_cfg_l.l" +#line 74 "libxlu_cfg_l.l" { yylval->string= xlu__cfgl_dequote(ctx,yytext); GOT(STRING); @@ -909,7 +925,7 @@ YY_BREAK case 11: YY_RULE_SETUP -#line 62 "libxlu_cfg_l.l" +#line 78 "libxlu_cfg_l.l" { yylval->string= xlu__cfgl_dequote(ctx,yytext); GOT(STRING); @@ -917,7 +933,7 @@ YY_BREAK case 12: YY_RULE_SETUP -#line 67 "libxlu_cfg_l.l" +#line 83 "libxlu_cfg_l.l" { ctx->likely_python= 1; BEGIN(lexerr); @@ -926,7 +942,7 @@ YY_BREAK case 13: YY_RULE_SETUP -#line 73 "libxlu_cfg_l.l" +#line 89 "libxlu_cfg_l.l" { BEGIN(lexerr); yymore(); @@ -934,7 +950,7 @@ YY_BREAK case 14: YY_RULE_SETUP -#line 78 "libxlu_cfg_l.l" +#line 94 "libxlu_cfg_l.l" { xlu__cfgl_lexicalerror(ctx,"lexical error"); BEGIN(0); @@ -943,7 +959,7 @@ case 15: /* rule 15 can match eol */ YY_RULE_SETUP -#line 83 "libxlu_cfg_l.l" +#line 99 "libxlu_cfg_l.l" { xlu__cfgl_lexicalerror(ctx,"lexical error"); BEGIN(0); @@ -952,10 +968,10 @@ YY_BREAK case 16: YY_RULE_SETUP -#line 88 "libxlu_cfg_l.l" +#line 104 "libxlu_cfg_l.l" YY_FATAL_ERROR( "flex scanner jammed" ); YY_BREAK -#line 959 "libxlu_cfg_l.c" +#line 975 "libxlu_cfg_l.c" case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(lexerr): yyterminate(); @@ -2105,4 +2121,4 @@ #define YYTABLES_NAME "yytables" -#line 88 "libxlu_cfg_l.l" +#line 104 "libxlu_cfg_l.l" diff -r f93a0521ab50 -r 430dc2f65562 tools/libxl/libxlu_cfg_l.h --- a/tools/libxl/libxlu_cfg_l.h Thu Jun 02 18:46:31 2011 +0100 +++ b/tools/libxl/libxlu_cfg_l.h Thu Jun 02 18:46:32 2011 +0100 @@ -350,7 +350,7 @@ #undef YY_DECL #endif -#line 88 "libxlu_cfg_l.l" +#line 104 "libxlu_cfg_l.l" #line 356 "libxlu_cfg_l.h" #undef xlu__cfg_yyIN_HEADER diff -r f93a0521ab50 -r 430dc2f65562 tools/libxl/libxlu_cfg_y.c --- a/tools/libxl/libxlu_cfg_y.c Thu Jun 02 18:46:31 2011 +0100 +++ b/tools/libxl/libxlu_cfg_y.c Thu Jun 02 18:46:32 2011 +0100 @@ -90,7 +90,7 @@ /* Copy the first part of user declarations. */ -#line 3 "libxlu_cfg_y.y" +#line 19 "libxlu_cfg_y.y" #define YYLEX_PARAM ctx->scanner #include "libxlu_cfg_i.h" @@ -117,7 +117,7 @@ #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE -#line 9 "libxlu_cfg_y.y" +#line 25 "libxlu_cfg_y.y" { char *string; XLU_ConfigSetting *setting; @@ -439,9 +439,9 @@ /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const yytype_uint8 yyrline[] = { - 0, 31, 31, 32, 34, 34, 36, 37, 39, 40, - 42, 43, 45, 46, 48, 49, 50, 52, 53, 55, - 57 + 0, 47, 47, 48, 50, 50, 52, 53, 55, 56, + 58, 59, 61, 62, 64, 65, 66, 68, 69, 71, + 73 }; #endif @@ -1062,37 +1062,37 @@ switch (yytype) { case 3: /* "IDENT" */ -#line 24 "libxlu_cfg_y.y" +#line 40 "libxlu_cfg_y.y" { free((yyvaluep->string)); }; #line 1068 "libxlu_cfg_y.c" break; case 4: /* "STRING" */ -#line 24 "libxlu_cfg_y.y" +#line 40 "libxlu_cfg_y.y" { free((yyvaluep->string)); }; #line 1073 "libxlu_cfg_y.c" break; case 5: /* "NUMBER" */ -#line 24 "libxlu_cfg_y.y" +#line 40 "libxlu_cfg_y.y" { free((yyvaluep->string)); }; #line 1078 "libxlu_cfg_y.c" break; case 17: /* "value" */ -#line 27 "libxlu_cfg_y.y" +#line 43 "libxlu_cfg_y.y" { xlu__cfg_set_free((yyvaluep->setting)); }; #line 1083 "libxlu_cfg_y.c" break; case 18: /* "atom" */ -#line 24 "libxlu_cfg_y.y" +#line 40 "libxlu_cfg_y.y" { free((yyvaluep->string)); }; #line 1088 "libxlu_cfg_y.c" break; case 19: /* "valuelist" */ -#line 27 "libxlu_cfg_y.y" +#line 43 "libxlu_cfg_y.y" { xlu__cfg_set_free((yyvaluep->setting)); }; #line 1093 "libxlu_cfg_y.c" break; case 20: /* "values" */ -#line 27 "libxlu_cfg_y.y" +#line 43 "libxlu_cfg_y.y" { xlu__cfg_set_free((yyvaluep->setting)); }; #line 1098 "libxlu_cfg_y.c" break; @@ -1417,52 +1417,52 @@ switch (yyn) { case 4: -#line 34 "libxlu_cfg_y.y" +#line 50 "libxlu_cfg_y.y" { xlu__cfg_set_store(ctx,(yyvsp[(1) - (3)].string),(yyvsp[(3) - (3)].setting),(yylsp[(3) - (3)]).first_line); ;} break; case 10: -#line 42 "libxlu_cfg_y.y" +#line 58 "libxlu_cfg_y.y" { (yyval.setting)= xlu__cfg_set_mk(ctx,1,(yyvsp[(1) - (1)].string)); ;} break; case 11: -#line 43 "libxlu_cfg_y.y" +#line 59 "libxlu_cfg_y.y" { (yyval.setting)= (yyvsp[(3) - (4)].setting); ;} break; case 12: -#line 45 "libxlu_cfg_y.y" +#line 61 "libxlu_cfg_y.y" { (yyval.string)= (yyvsp[(1) - (1)].string); ;} break; case 13: -#line 46 "libxlu_cfg_y.y" +#line 62 "libxlu_cfg_y.y" { (yyval.string)= (yyvsp[(1) - (1)].string); ;} break; case 14: -#line 48 "libxlu_cfg_y.y" +#line 64 "libxlu_cfg_y.y" { (yyval.setting)= xlu__cfg_set_mk(ctx,0,0); ;} break; case 15: -#line 49 "libxlu_cfg_y.y" +#line 65 "libxlu_cfg_y.y" { (yyval.setting)= (yyvsp[(1) - (1)].setting); ;} break; case 16: -#line 50 "libxlu_cfg_y.y" +#line 66 "libxlu_cfg_y.y" { (yyval.setting)= (yyvsp[(1) - (3)].setting); ;} break; case 17: -#line 52 "libxlu_cfg_y.y" +#line 68 "libxlu_cfg_y.y" { (yyval.setting)= xlu__cfg_set_mk(ctx,2,(yyvsp[(1) - (2)].string)); ;} break; case 18: -#line 53 "libxlu_cfg_y.y" +#line 69 "libxlu_cfg_y.y" { xlu__cfg_set_add(ctx,(yyvsp[(1) - (5)].setting),(yyvsp[(4) - (5)].string)); (yyval.setting)= (yyvsp[(1) - (5)].setting); ;} break; diff -r f93a0521ab50 -r 430dc2f65562 tools/libxl/libxlu_cfg_y.h --- a/tools/libxl/libxlu_cfg_y.h Thu Jun 02 18:46:31 2011 +0100 +++ b/tools/libxl/libxlu_cfg_y.h Thu Jun 02 18:46:32 2011 +0100 @@ -56,7 +56,7 @@ #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE -#line 9 "libxlu_cfg_y.y" +#line 25 "libxlu_cfg_y.y" { char *string; XLU_ConfigSetting *setting; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |