OpenVAS Libraries  4.0+rc3.SVN
nasl/nasl_grammar.tab.h
00001 /* A Bison parser, made by GNU Bison 2.5.  */
00002 
00003 /* Bison interface for Yacc-like parsers in C
00004    
00005       Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc.
00006    
00007    This program is free software: you can redistribute it and/or modify
00008    it under the terms of the GNU General Public License as published by
00009    the Free Software Foundation, either version 3 of the License, or
00010    (at your option) any later version.
00011    
00012    This program is distributed in the hope that it will be useful,
00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015    GNU General Public License for more details.
00016    
00017    You should have received a copy of the GNU General Public License
00018    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
00019 
00020 /* As a special exception, you may create a larger work that contains
00021    part or all of the Bison parser skeleton and distribute that work
00022    under terms of your choice, so long as that work isn't itself a
00023    parser generator using the skeleton or a modified version thereof
00024    as a parser skeleton.  Alternatively, if you modify or redistribute
00025    the parser skeleton itself, you may (at your option) remove this
00026    special exception, which will cause the skeleton and the resulting
00027    Bison output files to be licensed under the GNU General Public
00028    License without this special exception.
00029    
00030    This special exception was added by the Free Software Foundation in
00031    version 2.2 of Bison.  */
00032 
00033 
00034 /* Tokens.  */
00035 #ifndef YYTOKENTYPE
00036 # define YYTOKENTYPE
00037    /* Put the tokens into the symbol table, so that GDB and other debuggers
00038       know about them.  */
00039    enum yytokentype {
00040      IF = 258,
00041      ELSE = 259,
00042      EQ = 260,
00043      NEQ = 261,
00044      SUPEQ = 262,
00045      INFEQ = 263,
00046      OR = 264,
00047      AND = 265,
00048      MATCH = 266,
00049      NOMATCH = 267,
00050      REP = 268,
00051      FOR = 269,
00052      REPEAT = 270,
00053      UNTIL = 271,
00054      FOREACH = 272,
00055      WHILE = 273,
00056      BREAK = 274,
00057      CONTINUE = 275,
00058      FUNCTION = 276,
00059      RETURN = 277,
00060      INCLUDE = 278,
00061      LOCAL = 279,
00062      GLOBAL = 280,
00063      PLUS_PLUS = 281,
00064      MINUS_MINUS = 282,
00065      L_SHIFT = 283,
00066      R_SHIFT = 284,
00067      R_USHIFT = 285,
00068      EXPO = 286,
00069      PLUS_EQ = 287,
00070      MINUS_EQ = 288,
00071      MULT_EQ = 289,
00072      DIV_EQ = 290,
00073      MODULO_EQ = 291,
00074      L_SHIFT_EQ = 292,
00075      R_SHIFT_EQ = 293,
00076      R_USHIFT_EQ = 294,
00077      RE_MATCH = 295,
00078      RE_NOMATCH = 296,
00079      ARROW = 297,
00080      IDENT = 298,
00081      STRING1 = 299,
00082      STRING2 = 300,
00083      INTEGER = 301,
00084      NOT = 302,
00085      BIT_NOT = 303,
00086      UMINUS = 304
00087    };
00088 #endif
00089 
00090 
00091 
00092 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
00093 typedef union YYSTYPE
00094 {
00095 
00096 /* Line 2068 of yacc.c  */
00097 #line 46 "nasl_grammar.y"
00098 
00099   int   num;
00100   char    *str;
00101   struct asciiz {
00102     char  *val;
00103     int   len;
00104   } data;
00105   tree_cell *node;
00106 
00107 
00108 
00109 /* Line 2068 of yacc.c  */
00110 #line 111 "nasl_grammar.tab.h"
00111 } YYSTYPE;
00112 # define YYSTYPE_IS_TRIVIAL 1
00113 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
00114 # define YYSTYPE_IS_DECLARED 1
00115 #endif
00116 
00117 
00118 
00119