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@eu.citrix.com>
Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
This commit is contained in:
Ian Jackson committed 2011-06-02 18:46:32 +01:00
1 parent d32e1379d6
commit dc7f5bd00c
4 files changed
+62 -46

No files matched your search

+38 -22
View File
@@ -479,7 +479,23 @@ static yyconst flex_int32_t yy_rule_can_match_eol[17] =
#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@eu.citrix.com>
*
* 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 @@ int xlu__cfg_yyget_column(yyscan_t yyscanner);
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 @@ YY_DECL
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 @@ do_action: /* This label is used only to access EOF actions. */
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_RULE_SETUP
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_RULE_SETUP
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_RULE_SETUP
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_RULE_SETUP
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_RULE_SETUP
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_RULE_SETUP
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 @@ YY_RULE_SETUP
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_RULE_SETUP
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 @@ void xlu__cfg_yyfree (void * ptr , yyscan_t yyscanner)
#define YYTABLES_NAME "yytables"
#line 88 "libxlu_cfg_l.l"
#line 104 "libxlu_cfg_l.l"
+1 -1
View File
@@ -350,7 +350,7 @@ extern int xlu__cfg_yylex \
#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
+22 -22
View File
@@ -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 @@ static const yytype_int8 yyrhs[] =
/* 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 @@ yydestruct (yymsg, yytype, yyvaluep, yylocationp, ctx)
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 @@ yyreduce:
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;
+1 -1
View File
@@ -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;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.