libnl
3.2.7
|
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 ERROR = 258, 00041 NUMBER = 259, 00042 LAYER = 260, 00043 ALIGN = 261, 00044 NAME = 262 00045 }; 00046 #endif 00047 /* Tokens. */ 00048 #define ERROR 258 00049 #define NUMBER 259 00050 #define LAYER 260 00051 #define ALIGN 261 00052 #define NAME 262 00053 00054 00055 00056 00057 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 00058 typedef union YYSTYPE 00059 { 00060 00061 /* Line 2068 of yacc.c */ 00062 #line 18 "route/pktloc_syntax.y" 00063 00064 struct rtnl_pktloc *l; 00065 uint32_t i; 00066 char *s; 00067 00068 00069 00070 /* Line 2068 of yacc.c */ 00071 #line 72 "route/pktloc_syntax.h" 00072 } YYSTYPE; 00073 # define YYSTYPE_IS_TRIVIAL 1 00074 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 00075 # define YYSTYPE_IS_DECLARED 1 00076 #endif 00077 00078 00079 00080 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED 00081 typedef struct YYLTYPE 00082 { 00083 int first_line; 00084 int first_column; 00085 int last_line; 00086 int last_column; 00087 } YYLTYPE; 00088 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */ 00089 # define YYLTYPE_IS_DECLARED 1 00090 # define YYLTYPE_IS_TRIVIAL 1 00091 #endif 00092 00093 00094