Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/gawk Remove files which will be created during buil...



details:   https://anonhg.NetBSD.org/src/rev/5214cff00917
branches:  trunk
changeset: 473669:5214cff00917
user:      tron <tron%NetBSD.org@localhost>
date:      Sun Jun 13 22:19:46 1999 +0000

description:
Remove files which will be created during build process.

diffstat:

 gnu/dist/gawk/awktab.c      |   3934 ---------
 gnu/dist/gawk/doc/gawk.info |  18239 ------------------------------------------
 2 files changed, 0 insertions(+), 22173 deletions(-)

diffs (truncated from 22181 to 300 lines):

diff -r 39d1f66d49bf -r 5214cff00917 gnu/dist/gawk/awktab.c
--- a/gnu/dist/gawk/awktab.c    Sun Jun 13 21:34:32 1999 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3934 +0,0 @@
-
-/*  A Bison parser, made from ./awk.y
- by  GNU Bison version 1.25
-  */
-
-#define YYBISON 1  /* Identify Bison output.  */
-
-#define        FUNC_CALL       258
-#define        NAME    259
-#define        REGEXP  260
-#define        ERROR   261
-#define        YNUMBER 262
-#define        YSTRING 263
-#define        RELOP   264
-#define        APPEND_OP       265
-#define        ASSIGNOP        266
-#define        MATCHOP 267
-#define        NEWLINE 268
-#define        CONCAT_OP       269
-#define        LEX_BEGIN       270
-#define        LEX_END 271
-#define        LEX_IF  272
-#define        LEX_ELSE        273
-#define        LEX_RETURN      274
-#define        LEX_DELETE      275
-#define        LEX_WHILE       276
-#define        LEX_DO  277
-#define        LEX_FOR 278
-#define        LEX_BREAK       279
-#define        LEX_CONTINUE    280
-#define        LEX_PRINT       281
-#define        LEX_PRINTF      282
-#define        LEX_NEXT        283
-#define        LEX_EXIT        284
-#define        LEX_FUNCTION    285
-#define        LEX_GETLINE     286
-#define        LEX_NEXTFILE    287
-#define        LEX_IN  288
-#define        LEX_AND 289
-#define        LEX_OR  290
-#define        INCREMENT       291
-#define        DECREMENT       292
-#define        LEX_BUILTIN     293
-#define        LEX_LENGTH      294
-#define        UNARY   295
-
-#line 26 "./awk.y"
-
-#ifdef DEBUG
-#define YYDEBUG 12
-#endif
-
-#include "awk.h"
-
-#define CAN_FREE       TRUE
-#define DONT_FREE      FALSE
-
-#if defined(HAVE_STDARG_H) && defined(__STDC__) && __STDC__
-static void yyerror(const char *m, ...) ;
-#else
-static void yyerror(); /* va_alist */
-#endif
-static char *get_src_buf P((void));
-static int yylex P((void));
-static NODE *node_common P((NODETYPE op));
-static NODE *snode P((NODE *subn, NODETYPE op, int sindex));
-static NODE *mkrangenode P((NODE *cpair));
-static NODE *make_for_loop P((NODE *init, NODE *cond, NODE *incr));
-static NODE *append_right P((NODE *list, NODE *new));
-static void func_install P((NODE *params, NODE *def));
-static void pop_var P((NODE *np, int freeit));
-static void pop_params P((NODE *params));
-static NODE *make_param P((char *name));
-static NODE *mk_rexp P((NODE *exp));
-static int dup_parms P((NODE *func));
-static void param_sanity P((NODE *arglist));
-static int isnoeffect P((NODETYPE t));
-static int isassignable P((NODE *n));
-
-enum defref { FUNC_DEFINE, FUNC_USE };
-static void func_use P((char *name, enum defref how));
-static void check_funcs P((void));
-
-static int want_assign;                /* lexical scanning kludge */
-static int want_regexp;                /* lexical scanning kludge */
-static int can_return;         /* lexical scanning kludge */
-static int io_allowed = TRUE;  /* lexical scanning kludge */
-static char *lexptr;           /* pointer to next char during parsing */
-static char *lexend;
-static char *lexptr_begin;     /* keep track of where we were for error msgs */
-static char *lexeme;           /* beginning of lexeme for debugging */
-static char *thisline = NULL;
-#define YYDEBUG_LEXER_TEXT (lexeme)
-static int param_counter;
-static char *tokstart = NULL;
-static char *tok = NULL;
-static char *tokend;
-
-#define HASHSIZE       1021    /* this constant only used here */
-NODE *variables[HASHSIZE];
-
-extern char *source;
-extern int sourceline;
-extern struct src *srcfiles;
-extern int numfiles;
-extern int errcount;
-extern NODE *begin_block;
-extern NODE *end_block;
-
-#line 89 "./awk.y"
-typedef union {
-       long lval;
-       AWKNUM fval;
-       NODE *nodeval;
-       NODETYPE nodetypeval;
-       char *sval;
-       NODE *(*ptrval)();
-} YYSTYPE;
-#include <stdio.h>
-
-#ifndef __cplusplus
-#ifndef __STDC__
-#define const
-#endif
-#endif
-
-
-
-#define        YYFINAL         312
-#define        YYFLAG          -32768
-#define        YYNTBASE        62
-
-#define YYTRANSLATE(x) ((unsigned)(x) <= 295 ? yytranslate[x] : 107)
-
-static const char yytranslate[] = {     0,
-     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-     2,     2,    51,     2,     2,    54,    50,     2,     2,    55,
-    56,    48,    46,    42,    47,     2,    49,     2,     2,     2,
-     2,     2,     2,     2,     2,     2,     2,    41,    61,    43,
-     2,    44,    40,     2,     2,     2,     2,     2,     2,     2,
-     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-    57,     2,    58,    53,     2,     2,     2,     2,     2,     2,
-     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-     2,     2,    59,    45,    60,     2,     2,     2,     2,     2,
-     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
-     2,     2,     2,     2,     2,     1,     2,     3,     4,     5,
-     6,     7,     8,     9,    10,    11,    12,    13,    14,    15,
-    16,    17,    18,    19,    20,    21,    22,    23,    24,    25,
-    26,    27,    28,    29,    30,    31,    32,    33,    34,    35,
-    36,    37,    38,    39,    52
-};
-
-#if YYDEBUG != 0
-static const short yyprhs[] = {     0,
-     0,     4,     6,     9,    11,    14,    15,    16,    20,    21,
-    25,    28,    31,    34,    36,    39,    42,    44,    46,    48,
-    50,    52,    53,    61,    66,    71,    73,    77,    78,    83,
-    89,    94,    96,    99,   101,   104,   106,   109,   112,   115,
-   119,   121,   128,   137,   146,   157,   167,   170,   173,   180,
-   185,   189,   192,   196,   197,   202,   209,   213,   216,   218,
-   220,   227,   237,   239,   242,   243,   245,   246,   249,   250,
-   253,   256,   259,   260,   262,   264,   268,   270,   273,   277,
-   278,   280,   281,   283,   285,   289,   291,   294,   298,   302,
-   303,   305,   307,   311,   313,   316,   320,   324,   325,   330,
-   336,   341,   345,   349,   353,   357,   359,   362,   366,   370,
-   374,   378,   384,   386,   389,   390,   395,   399,   403,   407,
-   409,   412,   416,   420,   424,   430,   432,   435,   437,   441,
-   445,   449,   453,   457,   461,   464,   467,   470,   474,   479,
-   484,   486,   491,   493,   496,   499,   501,   503,   506,   509,
-   510,   512,   514,   519,   522,   525,   528,   530,   531,   533,
-   535
-};
-
-static const short yyrhs[] = {    83,
-    63,    83,     0,    64,     0,    63,    64,     0,     1,     0,
-    63,     1,     0,     0,     0,    15,    65,    75,     0,     0,
-    16,    66,    75,     0,    15,    77,     0,    16,    77,     0,
-    72,    75,     0,    75,     0,    72,    77,     0,    69,    71,
-     0,     4,     0,     3,     0,    68,     0,    38,     0,    39,
-     0,     0,    30,    70,    67,    55,    86,   103,    83,     0,
-   101,    76,   102,   104,     0,   101,   102,   104,    83,     0,
-    93,     0,    93,    42,    93,     0,     0,    49,    74,     5,
-    49,     0,   101,    76,   102,   104,    83,     0,   101,   102,
-   104,    83,     0,    78,     0,    76,    78,     0,     1,     0,
-    76,     1,     0,    82,     0,   105,    83,     0,   105,    83,
-     0,   101,   102,     0,   101,    76,   102,     0,    81,     0,
-    21,    55,    93,   103,    83,    78,     0,    22,    83,    78,
-    21,    55,    93,   103,    83,     0,    23,    55,     4,    33,
-     4,   103,    83,    78,     0,    23,    55,    88,   105,    93,
-   105,    88,   103,    83,    78,     0,    23,    55,    88,   105,
-   105,    88,   103,    83,    78,     0,    24,    77,     0,    25,
-    77,     0,    80,    55,    92,   103,    85,    77,     0,    80,
-    89,    85,    77,     0,    28,    88,    77,     0,    32,    77,
-     0,    29,    88,    77,     0,     0,    19,    79,    88,    77,
-     0,    20,     4,    57,    92,    58,    77,     0,    20,     4,
-    77,     0,    93,    77,     0,    26,     0,    27,     0,    17,
-    55,    93,   103,    83,    78,     0,    17,    55,    93,   103,
-    83,    78,    18,    83,    78,     0,    13,     0,    82,    13,
-     0,     0,    82,     0,     0,    43,    97,     0,     0,    44,
-    93,     0,    10,    93,     0,    45,    93,     0,     0,    87,
-     0,     4,     0,    87,   106,     4,     0,     1,     0,    87,
-     1,     0,    87,   106,     1,     0,     0,    93,     0,     0,
-    90,     0,    95,     0,    90,   106,    95,     0,     1,     0,
-    90,     1,     0,    90,     1,    95,     0,    90,   106,     1,
-     0,     0,    92,     0,    93,     0,    92,   106,    93,     0,
-     1,     0,    92,     1,     0,    92,     1,    93,     0,    92,
-   106,     1,     0,     0,   100,    11,    94,    93,     0,    55,
-    92,   103,    33,     4,     0,    93,    45,    31,    99,     0,
-    31,    99,    84,     0,    93,    34,    93,     0,    93,    35,
-    93,     0,    93,    12,    93,     0,    73,     0,    51,    73,
-     0,    93,    33,     4,     0,    93,     9,    93,     0,    93,
-    43,    93,     0,    93,    44,    93,     0,    93,    40,    93,
-    41,    93,     0,    97,     0,    93,    97,     0,     0,   100,
-    11,    96,    95,     0,    95,    34,    95,     0,    95,    35,
-    95,     0,    31,    99,    84,     0,    73,     0,    51,    73,
-     0,    95,    12,    95,     0,    95,    33,     4,     0,    95,
-     9,    95,     0,    95,    40,    95,    41,    95,     0,    97,
-     0,    95,    97,     0,    98,     0,    97,    53,    97,     0,
-    97,    48,    97,     0,    97,    49,    97,     0,    97,    50,
-    97,     0,    97,    46,    97,     0,    97,    47,    97,     0,
-   100,    36,     0,   100,    37,     0,    51,    97,     0,    55,
-    93,   103,     0,    38,    55,    91,   103,     0,    39,    55,
-    91,   103,     0,    39,     0,     3,    55,    91,   103,     0,
-   100,     0,    36,   100,     0,    37,   100,     0,     7,     0,
-     8,     0,    47,    97,     0,    46,    97,     0,     0,   100,
-     0,     4,     0,     4,    57,    92,    58,     0,    54,    98,
-     0,    59,    83,     0,    60,    83,     0,    56,     0,     0,
-   105,     0,    61,     0,    42,    83,     0
-};
-
-#endif
-
-#if YYDEBUG != 0
-static const short yyrline[] = { 0,
-   150,   158,   166,   182,   183,   184,   188,   190,   204,   206,
-   220,   226,   232,   234,   236,   249,   258,   260,   262,   272,
-   273,   277,   281,   296,   301,   310,   312,   321,   323,   341,
-   343,   348,   354,   362,   364,   369,   370,   374,   376,   378,
-   380,   382,   384,   386,   392,   396,   401,   404,   407,   409,
-   429,   468,   487,   489,   494,   496,   498,   512,   517,   519,
-   524,   529,   536,   538,   542,   543,   547,   549,   554,   556,
-   558,   560,   565,   567,   572,   574,   576,   578,   580,   586,
-   588,   593,   595,   600,   602,   608,   610,   612,   614,   619,
-   621,   626,   628,   634,   636,   638,   640,   645,   648,   653,
-   655,   660,   666,   668,   670,   676,   686,   694,   696,   702,
-   704,   706,   708,   710,   715,   718,   719,   721,   723,   729,
-   731,   733,   735,   737,   739,   741,   743,   748,   750,   752,
-   754,   756,   758,   760,   762,   764,   769,   771,   773,   776,
-   778,   786,   793,   794,   796,   798,   800,   803,   811,   822,
-   824,   829,   831,   839,   844,   848,   852,   856,   857,   861,
-   864
-};
-#endif
-
-
-#if YYDEBUG != 0 || defined (YYERROR_VERBOSE)
-
-static const char * const yytname[] = {   "$","error","$undefined.","FUNC_CALL",
-"NAME","REGEXP","ERROR","YNUMBER","YSTRING","RELOP","APPEND_OP","ASSIGNOP","MATCHOP",
-"NEWLINE","CONCAT_OP","LEX_BEGIN","LEX_END","LEX_IF","LEX_ELSE","LEX_RETURN",
-"LEX_DELETE","LEX_WHILE","LEX_DO","LEX_FOR","LEX_BREAK","LEX_CONTINUE","LEX_PRINT",
-"LEX_PRINTF","LEX_NEXT","LEX_EXIT","LEX_FUNCTION","LEX_GETLINE","LEX_NEXTFILE",
-"LEX_IN","LEX_AND","LEX_OR","INCREMENT","DECREMENT","LEX_BUILTIN","LEX_LENGTH",
-"'?'","':'","','","'<'","'>'","'|'","'+'","'-'","'*'","'/'","'%'","'!'","UNARY",
-"'^'","'$'","'('","')'","'['","']'","'{'","'}'","';'","start","program","rule",
-"@1","@2","func_name","lex_builtin","function_prologue","@3","function_body",
-"pattern","regexp","@4","action","statements","statement_term","statement","@5",
-"print","if_statement","nls","opt_nls","input_redir","output_redir","opt_param_list",
-"param_list","opt_exp","opt_rexpression_list","rexpression_list","opt_expression_list",
-"expression_list","exp","@6","rexp","@7","simp_exp","non_post_simp_exp","opt_variable",
-"variable","l_brace","r_brace","r_paren","opt_semi","semi","comma", NULL
-};
-#endif
-
-static const short yyr1[] = {     0,
-    62,    63,    63,    63,    63,    63,    65,    64,    66,    64,
-    64,    64,    64,    64,    64,    64,    67,    67,    67,    68,
-    68,    70,    69,    71,    71,    72,    72,    74,    73,    75,
-    75,    76,    76,    76,    76,    77,    77,    78,    78,    78,
-    78,    78,    78,    78,    78,    78,    78,    78,    78,    78,
-    78,    78,    78,    79,    78,    78,    78,    78,    80,    80,



Home | Main Index | Thread Index | Old Index