pcb 4.1.1
An interactive printed circuit board layout editor.
|
00001 00002 /* A Bison parser, made by GNU Bison 2.4.1. */ 00003 00004 /* Skeleton interface for Bison's Yacc-like parsers in C 00005 00006 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 00007 Free Software Foundation, Inc. 00008 00009 This program is free software: you can redistribute it and/or modify 00010 it under the terms of the GNU General Public License as published by 00011 the Free Software Foundation, either version 3 of the License, or 00012 (at your option) any later version. 00013 00014 This program is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU General Public License for more details. 00018 00019 You should have received a copy of the GNU General Public License 00020 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00021 00022 /* As a special exception, you may create a larger work that contains 00023 part or all of the Bison parser skeleton and distribute that work 00024 under terms of your choice, so long as that work isn't itself a 00025 parser generator using the skeleton or a modified version thereof 00026 as a parser skeleton. Alternatively, if you modify or redistribute 00027 the parser skeleton itself, you may (at your option) remove this 00028 special exception, which will cause the skeleton and the resulting 00029 Bison output files to be licensed under the GNU General Public 00030 License without this special exception. 00031 00032 This special exception was added by the Free Software Foundation in 00033 version 2.2 of Bison. */ 00034 00035 00036 /* Tokens. */ 00037 #ifndef YYTOKENTYPE 00038 # define YYTOKENTYPE 00039 /* Put the tokens into the symbol table, so that GDB and other debuggers 00040 know about them. */ 00041 enum yytokentype { 00042 FLOATING = 258, 00043 INTEGER = 259, 00044 CHAR_CONST = 260, 00045 STRING = 261, 00046 T_FILEVERSION = 262, 00047 T_PCB = 263, 00048 T_LAYER = 264, 00049 T_VIA = 265, 00050 T_RAT = 266, 00051 T_LINE = 267, 00052 T_ARC = 268, 00053 T_RECTANGLE = 269, 00054 T_TEXT = 270, 00055 T_ELEMENTLINE = 271, 00056 T_ELEMENT = 272, 00057 T_PIN = 273, 00058 T_PAD = 274, 00059 T_GRID = 275, 00060 T_FLAGS = 276, 00061 T_SYMBOL = 277, 00062 T_SYMBOLLINE = 278, 00063 T_CURSOR = 279, 00064 T_ELEMENTARC = 280, 00065 T_MARK = 281, 00066 T_GROUPS = 282, 00067 T_STYLES = 283, 00068 T_POLYGON = 284, 00069 T_POLYGON_HOLE = 285, 00070 T_NETLIST = 286, 00071 T_NET = 287, 00072 T_CONN = 288, 00073 T_AREA = 289, 00074 T_THERMAL = 290, 00075 T_DRC = 291, 00076 T_ATTRIBUTE = 292, 00077 T_UMIL = 293, 00078 T_CMIL = 294, 00079 T_MIL = 295, 00080 T_IN = 296, 00081 T_NM = 297, 00082 T_UM = 298, 00083 T_MM = 299, 00084 T_M = 300, 00085 T_KM = 301, 00086 T_PX = 302 00087 }; 00088 #endif 00089 /* Tokens. */ 00090 #define FLOATING 258 00091 #define INTEGER 259 00092 #define CHAR_CONST 260 00093 #define STRING 261 00094 #define T_FILEVERSION 262 00095 #define T_PCB 263 00096 #define T_LAYER 264 00097 #define T_VIA 265 00098 #define T_RAT 266 00099 #define T_LINE 267 00100 #define T_ARC 268 00101 #define T_RECTANGLE 269 00102 #define T_TEXT 270 00103 #define T_ELEMENTLINE 271 00104 #define T_ELEMENT 272 00105 #define T_PIN 273 00106 #define T_PAD 274 00107 #define T_GRID 275 00108 #define T_FLAGS 276 00109 #define T_SYMBOL 277 00110 #define T_SYMBOLLINE 278 00111 #define T_CURSOR 279 00112 #define T_ELEMENTARC 280 00113 #define T_MARK 281 00114 #define T_GROUPS 282 00115 #define T_STYLES 283 00116 #define T_POLYGON 284 00117 #define T_POLYGON_HOLE 285 00118 #define T_NETLIST 286 00119 #define T_NET 287 00120 #define T_CONN 288 00121 #define T_AREA 289 00122 #define T_THERMAL 290 00123 #define T_DRC 291 00124 #define T_ATTRIBUTE 292 00125 #define T_UMIL 293 00126 #define T_CMIL 294 00127 #define T_MIL 295 00128 #define T_IN 296 00129 #define T_NM 297 00130 #define T_UM 298 00131 #define T_MM 299 00132 #define T_M 300 00133 #define T_KM 301 00134 #define T_PX 302 00135 00136 00137 00138 00139 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 00140 typedef union YYSTYPE 00141 { 00142 00143 /* Line 1676 of yacc.c */ 00144 #line 108 "parse_y.y" 00145 00146 int integer; 00147 double number; 00148 char *string; 00149 FlagType flagtype; 00150 PLMeasure measure; 00151 00152 00153 00154 /* Line 1676 of yacc.c */ 00155 #line 156 "parse_y.h" 00156 } YYSTYPE; 00157 # define YYSTYPE_IS_TRIVIAL 1 00158 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 00159 # define YYSTYPE_IS_DECLARED 1 00160 #endif 00161 00162 extern YYSTYPE yylval; 00163 00164