pcb 4.1.1
An interactive printed circuit board layout editor.

res_parse.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include "global.h"
#include "resource.h"
#include "res_parse.h"
Include dependency graph for res_parse.c:

Go to the source code of this file.

Data Structures

union  YYSTYPE
union  yyalloc

Defines

#define YYBISON   1
#define YYBISON_VERSION   "2.4.1"
#define YYSKELETON_NAME   "yacc.c"
#define YYPURE   0
#define YYPUSH   0
#define YYPULL   1
#define YYLSP_NEEDED   0
#define yyparse   resparse
#define yylex   reslex
#define yyerror   reserror
#define yylval   reslval
#define yychar   reschar
#define yydebug   resdebug
#define yynerrs   resnerrs
#define YYDEBUG   0
#define YYERROR_VERBOSE   1
#define f(x)   current_res->flags |= x
#define YYDEBUG   0
#define YYERROR_VERBOSE   0
#define YYTOKEN_TABLE   0
#define YYTOKENTYPE
#define STRING   258
#define INCLUDE   259
#define YYSTYPE_IS_TRIVIAL   1
#define yystype   YYSTYPE
#define YYSTYPE_IS_DECLARED   1
#define YYSIZE_T   unsigned int
#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)
#define YY_(msgid)   msgid
#define YYUSE(e)   ((void) (e))
#define YYID(n)   (n)
#define YYSTACK_ALLOC   YYMALLOC
#define YYSTACK_FREE   YYFREE
#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM
#define YYMALLOC   malloc
#define YYFREE   free
#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)
#define YYSTACK_BYTES(N)
#define YYCOPY(To, From, Count)
#define YYSTACK_RELOCATE(Stack_alloc, Stack)
#define YYFINAL   3
#define YYLAST   25
#define YYNTOKENS   8
#define YYNNTS   7
#define YYNRULES   13
#define YYNSTATES   18
#define YYUNDEFTOK   2
#define YYMAXUTOK   259
#define YYTRANSLATE(YYX)   ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
#define YYPACT_NINF   -1
#define YYTABLE_NINF   -8
#define yyerrok   (yyerrstatus = 0)
#define yyclearin   (yychar = YYEMPTY)
#define YYEMPTY   (-2)
#define YYEOF   0
#define YYACCEPT   goto yyacceptlab
#define YYABORT   goto yyabortlab
#define YYERROR   goto yyerrorlab
#define YYFAIL   goto yyerrlab
#define YYRECOVERING()   (!!yyerrstatus)
#define YYBACKUP(Token, Value)
#define YYTERROR   1
#define YYERRCODE   256
#define YYRHSLOC(Rhs, K)   ((Rhs)[K])
#define YYLLOC_DEFAULT(Current, Rhs, N)
#define YY_LOCATION_PRINT(File, Loc)   ((void) 0)
#define YYLEX   yylex ()
#define YYDPRINTF(Args)
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)
#define YY_STACK_PRINT(Bottom, Top)
#define YY_REDUCE_PRINT(Rule)
#define YYINITDEPTH   200
#define YYMAXDEPTH   10000
#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))

Typedefs

typedef union YYSTYPE YYSTYPE
typedef unsigned char yytype_uint8
typedef short int yytype_int8
typedef unsigned short int yytype_uint16
typedef short int yytype_int16

Enumerations

enum  yytokentype {
  EDIF_TOK_IDENT = 258, EDIF_TOK_INT = 259, EDIF_TOK_KEYWORD = 260, EDIF_TOK_STR = 261,
  EDIF_TOK_ANGLE = 262, EDIF_TOK_BEHAVIOR = 263, EDIF_TOK_CALCULATED = 264, EDIF_TOK_CAPACITANCE = 265,
  EDIF_TOK_CENTERCENTER = 266, EDIF_TOK_CENTERLEFT = 267, EDIF_TOK_CENTERRIGHT = 268, EDIF_TOK_CHARGE = 269,
  EDIF_TOK_CONDUCTANCE = 270, EDIF_TOK_CURRENT = 271, EDIF_TOK_DISTANCE = 272, EDIF_TOK_DOCUMENT = 273,
  EDIF_TOK_ENERGY = 274, EDIF_TOK_EXTEND = 275, EDIF_TOK_FLUX = 276, EDIF_TOK_FREQUENCY = 277,
  EDIF_TOK_GENERIC = 278, EDIF_TOK_GRAPHIC = 279, EDIF_TOK_INDUCTANCE = 280, EDIF_TOK_INOUT = 281,
  EDIF_TOK_INPUT = 282, EDIF_TOK_LOGICMODEL = 283, EDIF_TOK_LOWERCENTER = 284, EDIF_TOK_LOWERLEFT = 285,
  EDIF_TOK_LOWERRIGHT = 286, EDIF_TOK_MASKLAYOUT = 287, EDIF_TOK_MASS = 288, EDIF_TOK_MEASURED = 289,
  EDIF_TOK_MX = 290, EDIF_TOK_MXR90 = 291, EDIF_TOK_MY = 292, EDIF_TOK_MYR90 = 293,
  EDIF_TOK_NETLIST = 294, EDIF_TOK_OUTPUT = 295, EDIF_TOK_PCBLAYOUT = 296, EDIF_TOK_POWER = 297,
  EDIF_TOK_R0 = 298, EDIF_TOK_R180 = 299, EDIF_TOK_R270 = 300, EDIF_TOK_R90 = 301,
  EDIF_TOK_REQUIRED = 302, EDIF_TOK_RESISTANCE = 303, EDIF_TOK_RIPPER = 304, EDIF_TOK_ROUND = 305,
  EDIF_TOK_SCHEMATIC = 306, EDIF_TOK_STRANGER = 307, EDIF_TOK_SYMBOLIC = 308, EDIF_TOK_TEMPERATURE = 309,
  EDIF_TOK_TIE = 310, EDIF_TOK_TIME = 311, EDIF_TOK_TRUNCATE = 312, EDIF_TOK_UPPERCENTER = 313,
  EDIF_TOK_UPPERLEFT = 314, EDIF_TOK_UPPERRIGHT = 315, EDIF_TOK_VOLTAGE = 316, EDIF_TOK_ACLOAD = 317,
  EDIF_TOK_AFTER = 318, EDIF_TOK_ANNOTATE = 319, EDIF_TOK_APPLY = 320, EDIF_TOK_ARC = 321,
  EDIF_TOK_ARRAY = 322, EDIF_TOK_ARRAYMACRO = 323, EDIF_TOK_ARRAYRELATEDINFO = 324, EDIF_TOK_ARRAYSITE = 325,
  EDIF_TOK_ATLEAST = 326, EDIF_TOK_ATMOST = 327, EDIF_TOK_AUTHOR = 328, EDIF_TOK_BASEARRAY = 329,
  EDIF_TOK_BECOMES = 330, EDIF_TOK_BETWEEN = 331, EDIF_TOK_BOOLEAN = 332, EDIF_TOK_BOOLEANDISPLAY = 333,
  EDIF_TOK_BOOLEANMAP = 334, EDIF_TOK_BORDERPATTERN = 335, EDIF_TOK_BORDERWIDTH = 336, EDIF_TOK_BOUNDINGBOX = 337,
  EDIF_TOK_CELL = 338, EDIF_TOK_CELLREF = 339, EDIF_TOK_CELLTYPE = 340, EDIF_TOK_CHANGE = 341,
  EDIF_TOK_CIRCLE = 342, EDIF_TOK_COLOR = 343, EDIF_TOK_COMMENT = 344, EDIF_TOK_COMMENTGRAPHICS = 345,
  EDIF_TOK_COMPOUND = 346, EDIF_TOK_CONNECTLOCATION = 347, EDIF_TOK_CONTENTS = 348, EDIF_TOK_CORNERTYPE = 349,
  EDIF_TOK_CRITICALITY = 350, EDIF_TOK_CURRENTMAP = 351, EDIF_TOK_CURVE = 352, EDIF_TOK_CYCLE = 353,
  EDIF_TOK_DATAORIGIN = 354, EDIF_TOK_DCFANINLOAD = 355, EDIF_TOK_DCFANOUTLOAD = 356, EDIF_TOK_DCMAXFANIN = 357,
  EDIF_TOK_DCMAXFANOUT = 358, EDIF_TOK_DELAY = 359, EDIF_TOK_DELTA = 360, EDIF_TOK_DERIVATION = 361,
  EDIF_TOK_DESIGN = 362, EDIF_TOK_DESIGNATOR = 363, EDIF_TOK_DIFFERENCE = 364, EDIF_TOK_DIRECTION = 365,
  EDIF_TOK_DISPLAY = 366, EDIF_TOK_DOMINATES = 367, EDIF_TOK_DOT = 368, EDIF_TOK_DURATION = 369,
  EDIF_TOK_E = 370, EDIF_TOK_EDIF = 371, EDIF_TOK_EDIFLEVEL = 372, EDIF_TOK_EDIFVERSION = 373,
  EDIF_TOK_ENCLOSUREDISTANCE = 374, EDIF_TOK_ENDTYPE = 375, EDIF_TOK_ENTRY = 376, EDIF_TOK_EVENT = 377,
  EDIF_TOK_EXACTLY = 378, EDIF_TOK_EXTERNAL = 379, EDIF_TOK_FABRICATE = 380, EDIF_TOK_FALSE = 381,
  EDIF_TOK_FIGURE = 382, EDIF_TOK_FIGUREAREA = 383, EDIF_TOK_FIGUREGROUP = 384, EDIF_TOK_FIGUREGROUPOBJECT = 385,
  EDIF_TOK_FIGUREGROUPOVERRIDE = 386, EDIF_TOK_FIGUREGROUPREF = 387, EDIF_TOK_FIGUREPERIMETER = 388, EDIF_TOK_FIGUREWIDTH = 389,
  EDIF_TOK_FILLPATTERN = 390, EDIF_TOK_FOLLOW = 391, EDIF_TOK_FORBIDDENEVENT = 392, EDIF_TOK_GLOBALPORTREF = 393,
  EDIF_TOK_GREATERTHAN = 394, EDIF_TOK_GRIDMAP = 395, EDIF_TOK_IGNORE = 396, EDIF_TOK_INCLUDEFIGUREGROUP = 397,
  EDIF_TOK_INITIAL = 398, EDIF_TOK_INSTANCE = 399, EDIF_TOK_INSTANCEBACKANNOTATE = 400, EDIF_TOK_INSTANCEGROUP = 401,
  EDIF_TOK_INSTANCEMAP = 402, EDIF_TOK_INSTANCEREF = 403, EDIF_TOK_INTEGER = 404, EDIF_TOK_INTEGERDISPLAY = 405,
  EDIF_TOK_INTERFACE = 406, EDIF_TOK_INTERFIGUREGROUPSPACING = 407, EDIF_TOK_INTERSECTION = 408, EDIF_TOK_INTRAFIGUREGROUPSPACING = 409,
  EDIF_TOK_INVERSE = 410, EDIF_TOK_ISOLATED = 411, EDIF_TOK_JOINED = 412, EDIF_TOK_JUSTIFY = 413,
  EDIF_TOK_KEYWORDDISPLAY = 414, EDIF_TOK_KEYWORDLEVEL = 415, EDIF_TOK_KEYWORDMAP = 416, EDIF_TOK_LESSTHAN = 417,
  EDIF_TOK_LIBRARY = 418, EDIF_TOK_LIBRARYREF = 419, EDIF_TOK_LISTOFNETS = 420, EDIF_TOK_LISTOFPORTS = 421,
  EDIF_TOK_LOADDELAY = 422, EDIF_TOK_LOGICASSIGN = 423, EDIF_TOK_LOGICINPUT = 424, EDIF_TOK_LOGICLIST = 425,
  EDIF_TOK_LOGICMAPINPUT = 426, EDIF_TOK_LOGICMAPOUTPUT = 427, EDIF_TOK_LOGICONEOF = 428, EDIF_TOK_LOGICOUTPUT = 429,
  EDIF_TOK_LOGICPORT = 430, EDIF_TOK_LOGICREF = 431, EDIF_TOK_LOGICVALUE = 432, EDIF_TOK_LOGICWAVEFORM = 433,
  EDIF_TOK_MAINTAIN = 434, EDIF_TOK_MATCH = 435, EDIF_TOK_MEMBER = 436, EDIF_TOK_MINOMAX = 437,
  EDIF_TOK_MINOMAXDISPLAY = 438, EDIF_TOK_MNM = 439, EDIF_TOK_MULTIPLEVALUESET = 440, EDIF_TOK_MUSTJOIN = 441,
  EDIF_TOK_NAME = 442, EDIF_TOK_NET = 443, EDIF_TOK_NETBACKANNOTATE = 444, EDIF_TOK_NETBUNDLE = 445,
  EDIF_TOK_NETDELAY = 446, EDIF_TOK_NETGROUP = 447, EDIF_TOK_NETMAP = 448, EDIF_TOK_NETREF = 449,
  EDIF_TOK_NOCHANGE = 450, EDIF_TOK_NONPERMUTABLE = 451, EDIF_TOK_NOTALLOWED = 452, EDIF_TOK_NOTCHSPACING = 453,
  EDIF_TOK_NUMBER = 454, EDIF_TOK_NUMBERDEFINITION = 455, EDIF_TOK_NUMBERDISPLAY = 456, EDIF_TOK_OFFPAGECONNECTOR = 457,
  EDIF_TOK_OFFSETEVENT = 458, EDIF_TOK_OPENSHAPE = 459, EDIF_TOK_ORIENTATION = 460, EDIF_TOK_ORIGIN = 461,
  EDIF_TOK_OVERHANGDISTANCE = 462, EDIF_TOK_OVERLAPDISTANCE = 463, EDIF_TOK_OVERSIZE = 464, EDIF_TOK_OWNER = 465,
  EDIF_TOK_PAGE = 466, EDIF_TOK_PAGESIZE = 467, EDIF_TOK_PARAMETER = 468, EDIF_TOK_PARAMETERASSIGN = 469,
  EDIF_TOK_PARAMETERDISPLAY = 470, EDIF_TOK_PATH = 471, EDIF_TOK_PATHDELAY = 472, EDIF_TOK_PATHWIDTH = 473,
  EDIF_TOK_PERMUTABLE = 474, EDIF_TOK_PHYSICALDESIGNRULE = 475, EDIF_TOK_PLUG = 476, EDIF_TOK_POINT = 477,
  EDIF_TOK_POINTDISPLAY = 478, EDIF_TOK_POINTLIST = 479, EDIF_TOK_POLYGON = 480, EDIF_TOK_PORT = 481,
  EDIF_TOK_PORTBACKANNOTATE = 482, EDIF_TOK_PORTBUNDLE = 483, EDIF_TOK_PORTDELAY = 484, EDIF_TOK_PORTGROUP = 485,
  EDIF_TOK_PORTIMPLEMENTATION = 486, EDIF_TOK_PORTINSTANCE = 487, EDIF_TOK_PORTLIST = 488, EDIF_TOK_PORTLISTALIAS = 489,
  EDIF_TOK_PORTMAP = 490, EDIF_TOK_PORTREF = 491, EDIF_TOK_PROGRAM = 492, EDIF_TOK_PROPERTY = 493,
  EDIF_TOK_PROPERTYDISPLAY = 494, EDIF_TOK_PROTECTIONFRAME = 495, EDIF_TOK_PT = 496, EDIF_TOK_RANGEVECTOR = 497,
  EDIF_TOK_RECTANGLE = 498, EDIF_TOK_RECTANGLESIZE = 499, EDIF_TOK_RENAME = 500, EDIF_TOK_RESOLVES = 501,
  EDIF_TOK_SCALE = 502, EDIF_TOK_SCALEX = 503, EDIF_TOK_SCALEY = 504, EDIF_TOK_SECTION = 505,
  EDIF_TOK_SHAPE = 506, EDIF_TOK_SIMULATE = 507, EDIF_TOK_SIMULATIONINFO = 508, EDIF_TOK_SINGLEVALUESET = 509,
  EDIF_TOK_SITE = 510, EDIF_TOK_SOCKET = 511, EDIF_TOK_SOCKETSET = 512, EDIF_TOK_STATUS = 513,
  EDIF_TOK_STEADY = 514, EDIF_TOK_STRING = 515, EDIF_TOK_STRINGDISPLAY = 516, EDIF_TOK_STRONG = 517,
  EDIF_TOK_SYMBOL = 518, EDIF_TOK_SYMMETRY = 519, EDIF_TOK_TABLE = 520, EDIF_TOK_TABLEDEFAULT = 521,
  EDIF_TOK_TECHNOLOGY = 522, EDIF_TOK_TEXTHEIGHT = 523, EDIF_TOK_TIMEINTERVAL = 524, EDIF_TOK_TIMESTAMP = 525,
  EDIF_TOK_TIMING = 526, EDIF_TOK_TRANSFORM = 527, EDIF_TOK_TRANSITION = 528, EDIF_TOK_TRIGGER = 529,
  EDIF_TOK_TRUE = 530, EDIF_TOK_UNCONSTRAINED = 531, EDIF_TOK_UNDEFINED = 532, EDIF_TOK_UNION = 533,
  EDIF_TOK_UNIT = 534, EDIF_TOK_UNUSED = 535, EDIF_TOK_USERDATA = 536, EDIF_TOK_VERSION = 537,
  EDIF_TOK_VIEW = 538, EDIF_TOK_VIEWLIST = 539, EDIF_TOK_VIEWMAP = 540, EDIF_TOK_VIEWREF = 541,
  EDIF_TOK_VIEWTYPE = 542, EDIF_TOK_VISIBLE = 543, EDIF_TOK_VOLTAGEMAP = 544, EDIF_TOK_WAVEVALUE = 545,
  EDIF_TOK_WEAK = 546, EDIF_TOK_WEAKJOINED = 547, EDIF_TOK_WHEN = 548, EDIF_TOK_WRITTEN = 549,
  EDIF_TOK_IDENT = 258, EDIF_TOK_INT = 259, EDIF_TOK_KEYWORD = 260, EDIF_TOK_STR = 261,
  EDIF_TOK_ANGLE = 262, EDIF_TOK_BEHAVIOR = 263, EDIF_TOK_CALCULATED = 264, EDIF_TOK_CAPACITANCE = 265,
  EDIF_TOK_CENTERCENTER = 266, EDIF_TOK_CENTERLEFT = 267, EDIF_TOK_CENTERRIGHT = 268, EDIF_TOK_CHARGE = 269,
  EDIF_TOK_CONDUCTANCE = 270, EDIF_TOK_CURRENT = 271, EDIF_TOK_DISTANCE = 272, EDIF_TOK_DOCUMENT = 273,
  EDIF_TOK_ENERGY = 274, EDIF_TOK_EXTEND = 275, EDIF_TOK_FLUX = 276, EDIF_TOK_FREQUENCY = 277,
  EDIF_TOK_GENERIC = 278, EDIF_TOK_GRAPHIC = 279, EDIF_TOK_INDUCTANCE = 280, EDIF_TOK_INOUT = 281,
  EDIF_TOK_INPUT = 282, EDIF_TOK_LOGICMODEL = 283, EDIF_TOK_LOWERCENTER = 284, EDIF_TOK_LOWERLEFT = 285,
  EDIF_TOK_LOWERRIGHT = 286, EDIF_TOK_MASKLAYOUT = 287, EDIF_TOK_MASS = 288, EDIF_TOK_MEASURED = 289,
  EDIF_TOK_MX = 290, EDIF_TOK_MXR90 = 291, EDIF_TOK_MY = 292, EDIF_TOK_MYR90 = 293,
  EDIF_TOK_NETLIST = 294, EDIF_TOK_OUTPUT = 295, EDIF_TOK_PCBLAYOUT = 296, EDIF_TOK_POWER = 297,
  EDIF_TOK_R0 = 298, EDIF_TOK_R180 = 299, EDIF_TOK_R270 = 300, EDIF_TOK_R90 = 301,
  EDIF_TOK_REQUIRED = 302, EDIF_TOK_RESISTANCE = 303, EDIF_TOK_RIPPER = 304, EDIF_TOK_ROUND = 305,
  EDIF_TOK_SCHEMATIC = 306, EDIF_TOK_STRANGER = 307, EDIF_TOK_SYMBOLIC = 308, EDIF_TOK_TEMPERATURE = 309,
  EDIF_TOK_TIE = 310, EDIF_TOK_TIME = 311, EDIF_TOK_TRUNCATE = 312, EDIF_TOK_UPPERCENTER = 313,
  EDIF_TOK_UPPERLEFT = 314, EDIF_TOK_UPPERRIGHT = 315, EDIF_TOK_VOLTAGE = 316, EDIF_TOK_ACLOAD = 317,
  EDIF_TOK_AFTER = 318, EDIF_TOK_ANNOTATE = 319, EDIF_TOK_APPLY = 320, EDIF_TOK_ARC = 321,
  EDIF_TOK_ARRAY = 322, EDIF_TOK_ARRAYMACRO = 323, EDIF_TOK_ARRAYRELATEDINFO = 324, EDIF_TOK_ARRAYSITE = 325,
  EDIF_TOK_ATLEAST = 326, EDIF_TOK_ATMOST = 327, EDIF_TOK_AUTHOR = 328, EDIF_TOK_BASEARRAY = 329,
  EDIF_TOK_BECOMES = 330, EDIF_TOK_BETWEEN = 331, EDIF_TOK_BOOLEAN = 332, EDIF_TOK_BOOLEANDISPLAY = 333,
  EDIF_TOK_BOOLEANMAP = 334, EDIF_TOK_BORDERPATTERN = 335, EDIF_TOK_BORDERWIDTH = 336, EDIF_TOK_BOUNDINGBOX = 337,
  EDIF_TOK_CELL = 338, EDIF_TOK_CELLREF = 339, EDIF_TOK_CELLTYPE = 340, EDIF_TOK_CHANGE = 341,
  EDIF_TOK_CIRCLE = 342, EDIF_TOK_COLOR = 343, EDIF_TOK_COMMENT = 344, EDIF_TOK_COMMENTGRAPHICS = 345,
  EDIF_TOK_COMPOUND = 346, EDIF_TOK_CONNECTLOCATION = 347, EDIF_TOK_CONTENTS = 348, EDIF_TOK_CORNERTYPE = 349,
  EDIF_TOK_CRITICALITY = 350, EDIF_TOK_CURRENTMAP = 351, EDIF_TOK_CURVE = 352, EDIF_TOK_CYCLE = 353,
  EDIF_TOK_DATAORIGIN = 354, EDIF_TOK_DCFANINLOAD = 355, EDIF_TOK_DCFANOUTLOAD = 356, EDIF_TOK_DCMAXFANIN = 357,
  EDIF_TOK_DCMAXFANOUT = 358, EDIF_TOK_DELAY = 359, EDIF_TOK_DELTA = 360, EDIF_TOK_DERIVATION = 361,
  EDIF_TOK_DESIGN = 362, EDIF_TOK_DESIGNATOR = 363, EDIF_TOK_DIFFERENCE = 364, EDIF_TOK_DIRECTION = 365,
  EDIF_TOK_DISPLAY = 366, EDIF_TOK_DOMINATES = 367, EDIF_TOK_DOT = 368, EDIF_TOK_DURATION = 369,
  EDIF_TOK_E = 370, EDIF_TOK_EDIF = 371, EDIF_TOK_EDIFLEVEL = 372, EDIF_TOK_EDIFVERSION = 373,
  EDIF_TOK_ENCLOSUREDISTANCE = 374, EDIF_TOK_ENDTYPE = 375, EDIF_TOK_ENTRY = 376, EDIF_TOK_EVENT = 377,
  EDIF_TOK_EXACTLY = 378, EDIF_TOK_EXTERNAL = 379, EDIF_TOK_FABRICATE = 380, EDIF_TOK_FALSE = 381,
  EDIF_TOK_FIGURE = 382, EDIF_TOK_FIGUREAREA = 383, EDIF_TOK_FIGUREGROUP = 384, EDIF_TOK_FIGUREGROUPOBJECT = 385,
  EDIF_TOK_FIGUREGROUPOVERRIDE = 386, EDIF_TOK_FIGUREGROUPREF = 387, EDIF_TOK_FIGUREPERIMETER = 388, EDIF_TOK_FIGUREWIDTH = 389,
  EDIF_TOK_FILLPATTERN = 390, EDIF_TOK_FOLLOW = 391, EDIF_TOK_FORBIDDENEVENT = 392, EDIF_TOK_GLOBALPORTREF = 393,
  EDIF_TOK_GREATERTHAN = 394, EDIF_TOK_GRIDMAP = 395, EDIF_TOK_IGNORE = 396, EDIF_TOK_INCLUDEFIGUREGROUP = 397,
  EDIF_TOK_INITIAL = 398, EDIF_TOK_INSTANCE = 399, EDIF_TOK_INSTANCEBACKANNOTATE = 400, EDIF_TOK_INSTANCEGROUP = 401,
  EDIF_TOK_INSTANCEMAP = 402, EDIF_TOK_INSTANCEREF = 403, EDIF_TOK_INTEGER = 404, EDIF_TOK_INTEGERDISPLAY = 405,
  EDIF_TOK_INTERFACE = 406, EDIF_TOK_INTERFIGUREGROUPSPACING = 407, EDIF_TOK_INTERSECTION = 408, EDIF_TOK_INTRAFIGUREGROUPSPACING = 409,
  EDIF_TOK_INVERSE = 410, EDIF_TOK_ISOLATED = 411, EDIF_TOK_JOINED = 412, EDIF_TOK_JUSTIFY = 413,
  EDIF_TOK_KEYWORDDISPLAY = 414, EDIF_TOK_KEYWORDLEVEL = 415, EDIF_TOK_KEYWORDMAP = 416, EDIF_TOK_LESSTHAN = 417,
  EDIF_TOK_LIBRARY = 418, EDIF_TOK_LIBRARYREF = 419, EDIF_TOK_LISTOFNETS = 420, EDIF_TOK_LISTOFPORTS = 421,
  EDIF_TOK_LOADDELAY = 422, EDIF_TOK_LOGICASSIGN = 423, EDIF_TOK_LOGICINPUT = 424, EDIF_TOK_LOGICLIST = 425,
  EDIF_TOK_LOGICMAPINPUT = 426, EDIF_TOK_LOGICMAPOUTPUT = 427, EDIF_TOK_LOGICONEOF = 428, EDIF_TOK_LOGICOUTPUT = 429,
  EDIF_TOK_LOGICPORT = 430, EDIF_TOK_LOGICREF = 431, EDIF_TOK_LOGICVALUE = 432, EDIF_TOK_LOGICWAVEFORM = 433,
  EDIF_TOK_MAINTAIN = 434, EDIF_TOK_MATCH = 435, EDIF_TOK_MEMBER = 436, EDIF_TOK_MINOMAX = 437,
  EDIF_TOK_MINOMAXDISPLAY = 438, EDIF_TOK_MNM = 439, EDIF_TOK_MULTIPLEVALUESET = 440, EDIF_TOK_MUSTJOIN = 441,
  EDIF_TOK_NAME = 442, EDIF_TOK_NET = 443, EDIF_TOK_NETBACKANNOTATE = 444, EDIF_TOK_NETBUNDLE = 445,
  EDIF_TOK_NETDELAY = 446, EDIF_TOK_NETGROUP = 447, EDIF_TOK_NETMAP = 448, EDIF_TOK_NETREF = 449,
  EDIF_TOK_NOCHANGE = 450, EDIF_TOK_NONPERMUTABLE = 451, EDIF_TOK_NOTALLOWED = 452, EDIF_TOK_NOTCHSPACING = 453,
  EDIF_TOK_NUMBER = 454, EDIF_TOK_NUMBERDEFINITION = 455, EDIF_TOK_NUMBERDISPLAY = 456, EDIF_TOK_OFFPAGECONNECTOR = 457,
  EDIF_TOK_OFFSETEVENT = 458, EDIF_TOK_OPENSHAPE = 459, EDIF_TOK_ORIENTATION = 460, EDIF_TOK_ORIGIN = 461,
  EDIF_TOK_OVERHANGDISTANCE = 462, EDIF_TOK_OVERLAPDISTANCE = 463, EDIF_TOK_OVERSIZE = 464, EDIF_TOK_OWNER = 465,
  EDIF_TOK_PAGE = 466, EDIF_TOK_PAGESIZE = 467, EDIF_TOK_PARAMETER = 468, EDIF_TOK_PARAMETERASSIGN = 469,
  EDIF_TOK_PARAMETERDISPLAY = 470, EDIF_TOK_PATH = 471, EDIF_TOK_PATHDELAY = 472, EDIF_TOK_PATHWIDTH = 473,
  EDIF_TOK_PERMUTABLE = 474, EDIF_TOK_PHYSICALDESIGNRULE = 475, EDIF_TOK_PLUG = 476, EDIF_TOK_POINT = 477,
  EDIF_TOK_POINTDISPLAY = 478, EDIF_TOK_POINTLIST = 479, EDIF_TOK_POLYGON = 480, EDIF_TOK_PORT = 481,
  EDIF_TOK_PORTBACKANNOTATE = 482, EDIF_TOK_PORTBUNDLE = 483, EDIF_TOK_PORTDELAY = 484, EDIF_TOK_PORTGROUP = 485,
  EDIF_TOK_PORTIMPLEMENTATION = 486, EDIF_TOK_PORTINSTANCE = 487, EDIF_TOK_PORTLIST = 488, EDIF_TOK_PORTLISTALIAS = 489,
  EDIF_TOK_PORTMAP = 490, EDIF_TOK_PORTREF = 491, EDIF_TOK_PROGRAM = 492, EDIF_TOK_PROPERTY = 493,
  EDIF_TOK_PROPERTYDISPLAY = 494, EDIF_TOK_PROTECTIONFRAME = 495, EDIF_TOK_PT = 496, EDIF_TOK_RANGEVECTOR = 497,
  EDIF_TOK_RECTANGLE = 498, EDIF_TOK_RECTANGLESIZE = 499, EDIF_TOK_RENAME = 500, EDIF_TOK_RESOLVES = 501,
  EDIF_TOK_SCALE = 502, EDIF_TOK_SCALEX = 503, EDIF_TOK_SCALEY = 504, EDIF_TOK_SECTION = 505,
  EDIF_TOK_SHAPE = 506, EDIF_TOK_SIMULATE = 507, EDIF_TOK_SIMULATIONINFO = 508, EDIF_TOK_SINGLEVALUESET = 509,
  EDIF_TOK_SITE = 510, EDIF_TOK_SOCKET = 511, EDIF_TOK_SOCKETSET = 512, EDIF_TOK_STATUS = 513,
  EDIF_TOK_STEADY = 514, EDIF_TOK_STRING = 515, EDIF_TOK_STRINGDISPLAY = 516, EDIF_TOK_STRONG = 517,
  EDIF_TOK_SYMBOL = 518, EDIF_TOK_SYMMETRY = 519, EDIF_TOK_TABLE = 520, EDIF_TOK_TABLEDEFAULT = 521,
  EDIF_TOK_TECHNOLOGY = 522, EDIF_TOK_TEXTHEIGHT = 523, EDIF_TOK_TIMEINTERVAL = 524, EDIF_TOK_TIMESTAMP = 525,
  EDIF_TOK_TIMING = 526, EDIF_TOK_TRANSFORM = 527, EDIF_TOK_TRANSITION = 528, EDIF_TOK_TRIGGER = 529,
  EDIF_TOK_TRUE = 530, EDIF_TOK_UNCONSTRAINED = 531, EDIF_TOK_UNDEFINED = 532, EDIF_TOK_UNION = 533,
  EDIF_TOK_UNIT = 534, EDIF_TOK_UNUSED = 535, EDIF_TOK_USERDATA = 536, EDIF_TOK_VERSION = 537,
  EDIF_TOK_VIEW = 538, EDIF_TOK_VIEWLIST = 539, EDIF_TOK_VIEWMAP = 540, EDIF_TOK_VIEWREF = 541,
  EDIF_TOK_VIEWTYPE = 542, EDIF_TOK_VISIBLE = 543, EDIF_TOK_VOLTAGEMAP = 544, EDIF_TOK_WAVEVALUE = 545,
  EDIF_TOK_WEAK = 546, EDIF_TOK_WEAKJOINED = 547, EDIF_TOK_WHEN = 548, EDIF_TOK_WRITTEN = 549,
  FLOATING = 258, INTEGER = 259, CHAR_CONST = 260, STRING = 261,
  T_FILEVERSION = 262, T_PCB = 263, T_LAYER = 264, T_VIA = 265,
  T_RAT = 266, T_LINE = 267, T_ARC = 268, T_RECTANGLE = 269,
  T_TEXT = 270, T_ELEMENTLINE = 271, T_ELEMENT = 272, T_PIN = 273,
  T_PAD = 274, T_GRID = 275, T_FLAGS = 276, T_SYMBOL = 277,
  T_SYMBOLLINE = 278, T_CURSOR = 279, T_ELEMENTARC = 280, T_MARK = 281,
  T_GROUPS = 282, T_STYLES = 283, T_POLYGON = 284, T_POLYGON_HOLE = 285,
  T_NETLIST = 286, T_NET = 287, T_CONN = 288, T_AREA = 289,
  T_THERMAL = 290, T_DRC = 291, T_ATTRIBUTE = 292, T_UMIL = 293,
  T_CMIL = 294, T_MIL = 295, T_IN = 296, T_NM = 297,
  T_UM = 298, T_MM = 299, T_M = 300, T_KM = 301,
  T_PX = 302, FLOATING = 258, INTEGER = 259, CHAR_CONST = 260,
  STRING = 261, T_FILEVERSION = 262, T_PCB = 263, T_LAYER = 264,
  T_VIA = 265, T_RAT = 266, T_LINE = 267, T_ARC = 268,
  T_RECTANGLE = 269, T_TEXT = 270, T_ELEMENTLINE = 271, T_ELEMENT = 272,
  T_PIN = 273, T_PAD = 274, T_GRID = 275, T_FLAGS = 276,
  T_SYMBOL = 277, T_SYMBOLLINE = 278, T_CURSOR = 279, T_ELEMENTARC = 280,
  T_MARK = 281, T_GROUPS = 282, T_STYLES = 283, T_POLYGON = 284,
  T_POLYGON_HOLE = 285, T_NETLIST = 286, T_NET = 287, T_CONN = 288,
  T_AREA = 289, T_THERMAL = 290, T_DRC = 291, T_ATTRIBUTE = 292,
  T_UMIL = 293, T_CMIL = 294, T_MIL = 295, T_IN = 296,
  T_NM = 297, T_UM = 298, T_MM = 299, T_M = 300,
  T_KM = 301, T_PX = 302, STRING = 258, INCLUDE = 259,
  STRING = 258, INCLUDE = 259
}

Functions

int reserror (const char *)
int reslex ()
static void yydestruct (char *yymsg, int yytype, YYSTYPE *yyvaluep) const
int yyparse ()
int res_parse_getchars (char *buf, int max_size)
Resourceresource_parse (const char *filename, const char **strings)
Resourceresource_create (Resource *parent)
void resource_add_val (Resource *n, char *name, char *value, Resource *subres)
char * resource_value (const Resource *res, char *name)
Resourceresource_subres (const Resource *res, const char *name)
static void dump_res (Resource *n, int l)
void resource_dump (Resource *r)

Variables

static Resourceparsed_res
static Resourcecurrent_res
static const yytype_uint8 yytranslate []
static const yytype_uint8 yyr1 []
static const yytype_uint8 yyr2 []
static const yytype_uint8 yydefact []
static const yytype_int8 yydefgoto []
static const yytype_int8 yypact []
static const yytype_int8 yypgoto []
static const yytype_int8 yytable []
static const yytype_int8 yycheck []
static const yytype_uint8 yystos []
int yychar
YYSTYPE yylval
int yynerrs
static const char * res_filename = NULL
static FILE * res_file = NULL
static const char ** res_strings = NULL
static int res_string_idx = 0
int res_lineno

Define Documentation

#define INCLUDE   259

Definition at line 150 of file res_parse.c.

#define STRING   258

Definition at line 149 of file res_parse.c.

#define YY_ (   msgid)    msgid

Definition at line 238 of file res_parse.c.

#define YY_LOCATION_PRINT (   File,
  Loc 
)    ((void) 0)

Definition at line 638 of file res_parse.c.

#define YY_REDUCE_PRINT (   Rule)

Definition at line 811 of file res_parse.c.

#define YY_STACK_PRINT (   Bottom,
  Top 
)

Definition at line 810 of file res_parse.c.

#define YY_SYMBOL_PRINT (   Title,
  Type,
  Value,
  Location 
)

Definition at line 809 of file res_parse.c.

Referenced by yydestruct().

#define YYABORT   goto yyabortlab

Definition at line 567 of file res_parse.c.

#define YYACCEPT   goto yyacceptlab

Definition at line 566 of file res_parse.c.

#define YYBACKUP (   Token,
  Value 
)
Value:
do                                                              \
  if (yychar == YYEMPTY && yylen == 1)                          \
    {                                                           \
      yychar = (Token);                                         \
      yylval = (Value);                                         \
      yytoken = YYTRANSLATE (yychar);                           \
      YYPOPSTACK (1);                                           \
      goto yybackup;                                            \
    }                                                           \
  else                                                          \
    {                                                           \
      yyerror (YY_("syntax error: cannot back up")); \
      YYERROR;                                                  \
    }                                                           \
while (YYID (0))

Definition at line 579 of file res_parse.c.

#define YYBISON   1

Definition at line 46 of file res_parse.c.

#define YYBISON_VERSION   "2.4.1"

Definition at line 49 of file res_parse.c.

#define yychar   reschar

Definition at line 71 of file res_parse.c.

#define yyclearin   (yychar = YYEMPTY)

Definition at line 562 of file res_parse.c.

#define YYCOPY (   To,
  From,
  Count 
)
Value:
do                                      \
        {                                       \
          YYSIZE_T yyi;                         \
          for (yyi = 0; yyi < (Count); yyi++)   \
            (To)[yyi] = (From)[yyi];            \
        }                                       \
      while (YYID (0))

Definition at line 364 of file res_parse.c.

#define YYDEBUG   0

Definition at line 121 of file res_parse.c.

#define yydebug   resdebug

Definition at line 72 of file res_parse.c.

#define YYDEBUG   0

Definition at line 121 of file res_parse.c.

#define YYDPRINTF (   Args)

Definition at line 808 of file res_parse.c.

#define YYEMPTY   (-2)

Definition at line 563 of file res_parse.c.

#define YYEOF   0

Definition at line 564 of file res_parse.c.

#define YYERRCODE   256

Definition at line 598 of file res_parse.c.

#define yyerrok   (yyerrstatus = 0)

Definition at line 561 of file res_parse.c.

#define yyerror   reserror

Definition at line 69 of file res_parse.c.

#define YYERROR   goto yyerrorlab

Definition at line 568 of file res_parse.c.

#define YYERROR_VERBOSE   1

Definition at line 129 of file res_parse.c.

#define YYERROR_VERBOSE   0

Definition at line 129 of file res_parse.c.

#define YYFAIL   goto yyerrlab

Definition at line 575 of file res_parse.c.

#define YYFINAL   3

Definition at line 394 of file res_parse.c.

#define YYFREE   free

Definition at line 327 of file res_parse.c.

#define YYID (   n)    (n)

Definition at line 251 of file res_parse.c.

#define YYINITDEPTH   200

Definition at line 817 of file res_parse.c.

#define YYLAST   25

Definition at line 396 of file res_parse.c.

#define YYLEX   yylex ()

Definition at line 648 of file res_parse.c.

#define yylex   reslex

Definition at line 68 of file res_parse.c.

#define YYLLOC_DEFAULT (   Current,
  Rhs,
 
)
Value:
do                                                                      \
      if (YYID (N))                                                    \
        {                                                               \
          (Current).first_line   = YYRHSLOC (Rhs, 1).first_line;        \
          (Current).first_column = YYRHSLOC (Rhs, 1).first_column;      \
          (Current).last_line    = YYRHSLOC (Rhs, N).last_line;         \
          (Current).last_column  = YYRHSLOC (Rhs, N).last_column;       \
        }                                                               \
      else                                                              \
        {                                                               \
          (Current).first_line   = (Current).last_line   =              \
            YYRHSLOC (Rhs, 0).last_line;                                \
          (Current).first_column = (Current).last_column =              \
            YYRHSLOC (Rhs, 0).last_column;                              \
        }                                                               \
    while (YYID (0))

Definition at line 607 of file res_parse.c.

#define YYLSP_NEEDED   0

Definition at line 64 of file res_parse.c.

#define yylval   reslval

Definition at line 70 of file res_parse.c.

#define YYMALLOC   malloc

Definition at line 320 of file res_parse.c.

#define YYMAXDEPTH   10000

Definition at line 828 of file res_parse.c.

#define YYMAXUTOK   259

Definition at line 409 of file res_parse.c.

#define yynerrs   resnerrs

Definition at line 73 of file res_parse.c.

#define YYNNTS   7

Definition at line 401 of file res_parse.c.

#define YYNRULES   13

Definition at line 403 of file res_parse.c.

#define YYNSTATES   18

Definition at line 405 of file res_parse.c.

#define YYNTOKENS   8

Definition at line 399 of file res_parse.c.

#define YYPACT_NINF   -1

Definition at line 521 of file res_parse.c.

#define yyparse   resparse

Definition at line 67 of file res_parse.c.

#define YYPOPSTACK (   N)    (yyvsp -= (N), yyssp -= (N))
#define YYPULL   1

Definition at line 61 of file res_parse.c.

#define YYPURE   0

Definition at line 55 of file res_parse.c.

#define YYPUSH   0

Definition at line 58 of file res_parse.c.

#define YYRECOVERING ( )    (!!yyerrstatus)

Definition at line 577 of file res_parse.c.

#define YYRHSLOC (   Rhs,
 
)    ((Rhs)[K])

Definition at line 605 of file res_parse.c.

#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)

Definition at line 228 of file res_parse.c.

#define YYSIZE_T   unsigned int

Definition at line 224 of file res_parse.c.

#define YYSKELETON_NAME   "yacc.c"

Definition at line 52 of file res_parse.c.

#define YYSTACK_ALLOC   YYMALLOC

Definition at line 306 of file res_parse.c.

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

Definition at line 309 of file res_parse.c.

#define YYSTACK_BYTES (   N)
Value:
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
      + YYSTACK_GAP_MAXIMUM)

Definition at line 353 of file res_parse.c.

#define YYSTACK_FREE   YYFREE

Definition at line 307 of file res_parse.c.

#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)

Definition at line 349 of file res_parse.c.

#define YYSTACK_RELOCATE (   Stack_alloc,
  Stack 
)
Value:
do                                                                      \
      {                                                                 \
        YYSIZE_T yynewbytes;                                            \
        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
        Stack = &yyptr->Stack_alloc;                                    \
        yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
        yyptr += yynewbytes / sizeof (*yyptr);                          \
      }                                                                 \
    while (YYID (0))

Definition at line 380 of file res_parse.c.

#define yystype   YYSTYPE

Definition at line 172 of file res_parse.c.

#define YYSTYPE_IS_DECLARED   1

Definition at line 173 of file res_parse.c.

#define YYSTYPE_IS_TRIVIAL   1

Definition at line 171 of file res_parse.c.

#define YYTABLE_NINF   -8

Definition at line 538 of file res_parse.c.

#define YYTERROR   1

Definition at line 597 of file res_parse.c.

#define YYTOKEN_TABLE   0

Definition at line 134 of file res_parse.c.

#define YYTOKENTYPE

Definition at line 140 of file res_parse.c.

#define YYTRANSLATE (   YYX)    ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)

Definition at line 411 of file res_parse.c.

#define YYUNDEFTOK   2

Definition at line 408 of file res_parse.c.

#define YYUSE (   e)    ((void) (e))

Definition at line 244 of file res_parse.c.

Referenced by yydestruct().


Typedef Documentation

typedef union YYSTYPE YYSTYPE
typedef short int yytype_int16

Definition at line 211 of file res_parse.c.

typedef short int yytype_int8

Definition at line 199 of file res_parse.c.

typedef unsigned short int yytype_uint16

Definition at line 205 of file res_parse.c.

typedef unsigned char yytype_uint8

Definition at line 190 of file res_parse.c.


Enumeration Type Documentation

Enumerator:
EDIF_TOK_IDENT 
EDIF_TOK_INT 
EDIF_TOK_KEYWORD 
EDIF_TOK_STR 
EDIF_TOK_ANGLE 
EDIF_TOK_BEHAVIOR 
EDIF_TOK_CALCULATED 
EDIF_TOK_CAPACITANCE 
EDIF_TOK_CENTERCENTER 
EDIF_TOK_CENTERLEFT 
EDIF_TOK_CENTERRIGHT 
EDIF_TOK_CHARGE 
EDIF_TOK_CONDUCTANCE 
EDIF_TOK_CURRENT 
EDIF_TOK_DISTANCE 
EDIF_TOK_DOCUMENT 
EDIF_TOK_ENERGY 
EDIF_TOK_EXTEND 
EDIF_TOK_FLUX 
EDIF_TOK_FREQUENCY 
EDIF_TOK_GENERIC 
EDIF_TOK_GRAPHIC 
EDIF_TOK_INDUCTANCE 
EDIF_TOK_INOUT 
EDIF_TOK_INPUT 
EDIF_TOK_LOGICMODEL 
EDIF_TOK_LOWERCENTER 
EDIF_TOK_LOWERLEFT 
EDIF_TOK_LOWERRIGHT 
EDIF_TOK_MASKLAYOUT 
EDIF_TOK_MASS 
EDIF_TOK_MEASURED 
EDIF_TOK_MX 
EDIF_TOK_MXR90 
EDIF_TOK_MY 
EDIF_TOK_MYR90 
EDIF_TOK_NETLIST 
EDIF_TOK_OUTPUT 
EDIF_TOK_PCBLAYOUT 
EDIF_TOK_POWER 
EDIF_TOK_R0 
EDIF_TOK_R180 
EDIF_TOK_R270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DCMAXFANOUT 
EDIF_TOK_DELAY 
EDIF_TOK_DELTA 
EDIF_TOK_DERIVATION 
EDIF_TOK_DESIGN 
EDIF_TOK_DESIGNATOR 
EDIF_TOK_DIFFERENCE 
EDIF_TOK_DIRECTION 
EDIF_TOK_DISPLAY 
EDIF_TOK_DOMINATES 
EDIF_TOK_DOT 
EDIF_TOK_DURATION 
EDIF_TOK_E 
EDIF_TOK_EDIF 
EDIF_TOK_EDIFLEVEL 
EDIF_TOK_EDIFVERSION 
EDIF_TOK_ENCLOSUREDISTANCE 
EDIF_TOK_ENDTYPE 
EDIF_TOK_ENTRY 
EDIF_TOK_EVENT 
EDIF_TOK_EXACTLY 
EDIF_TOK_EXTERNAL 
EDIF_TOK_FABRICATE 
EDIF_TOK_FALSE 
EDIF_TOK_FIGURE 
EDIF_TOK_FIGUREAREA 
EDIF_TOK_FIGUREGROUP 
EDIF_TOK_FIGUREGROUPOBJECT 
EDIF_TOK_FIGUREGROUPOVERRIDE 
EDIF_TOK_FIGUREGROUPREF 
EDIF_TOK_FIGUREPERIMETER 
EDIF_TOK_FIGUREWIDTH 
EDIF_TOK_FILLPATTERN 
EDIF_TOK_FOLLOW 
EDIF_TOK_FORBIDDENEVENT 
EDIF_TOK_GLOBALPORTREF 
EDIF_TOK_GREATERTHAN 
EDIF_TOK_GRIDMAP 
EDIF_TOK_IGNORE 
EDIF_TOK_INCLUDEFIGUREGROUP 
EDIF_TOK_INITIAL 
EDIF_TOK_INSTANCE 
EDIF_TOK_INSTANCEBACKANNOTATE 
EDIF_TOK_INSTANCEGROUP 
EDIF_TOK_INSTANCEMAP 
EDIF_TOK_INSTANCEREF 
EDIF_TOK_INTEGER 
EDIF_TOK_INTEGERDISPLAY 
EDIF_TOK_INTERFACE 
EDIF_TOK_INTERFIGUREGROUPSPACING 
EDIF_TOK_INTERSECTION 
EDIF_TOK_INTRAFIGUREGROUPSPACING 
EDIF_TOK_INVERSE 
EDIF_TOK_ISOLATED 
EDIF_TOK_JOINED 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IF_TOK_PAGESIZE 
EDIF_TOK_PARAMETER 
EDIF_TOK_PARAMETERASSIGN 
EDIF_TOK_PARAMETERDISPLAY 
EDIF_TOK_PATH 
EDIF_TOK_PATHDELAY 
EDIF_TOK_PATHWIDTH 
EDIF_TOK_PERMUTABLE 
EDIF_TOK_PHYSICALDESIGNRULE 
EDIF_TOK_PLUG 
EDIF_TOK_POINT 
EDIF_TOK_POINTDISPLAY 
EDIF_TOK_POINTLIST 
EDIF_TOK_POLYGON 
EDIF_TOK_PORT 
EDIF_TOK_PORTBACKANNOTATE 
EDIF_TOK_PORTBUNDLE 
EDIF_TOK_PORTDELAY 
EDIF_TOK_PORTGROUP 
EDIF_TOK_PORTIMPLEMENTATION 
EDIF_TOK_PORTINSTANCE 
EDIF_TOK_PORTLIST 
EDIF_TOK_PORTLISTALIAS 
EDIF_TOK_PORTMAP 
EDIF_TOK_PORTREF 
EDIF_TOK_PROGRAM 
EDIF_TOK_PROPERTY 
EDIF_TOK_PROPERTYDISPLAY 
EDIF_TOK_PROTECTIONFRAME 
EDIF_TOK_PT 
EDIF_TOK_RANGEVECTOR 
EDIF_TOK_RECTANGLE 
EDIF_TOK_RECTANGLESIZE 
EDIF_TOK_RENAME 
EDIF_TOK_RESOLVES 
EDIF_TOK_SCALE 
EDIF_TOK_SCALEX 
EDIF_TOK_SCALEY 
EDIF_TOK_SECTION 
EDIF_TOK_SHAPE 
EDIF_TOK_SIMULATE 
EDIF_TOK_SIMULATIONINFO 
EDIF_TOK_SINGLEVALUESET 
EDIF_TOK_SITE 
EDIF_TOK_SOCKET 
EDIF_TOK_SOCKETSET 
EDIF_TOK_STATUS 
EDIF_TOK_STEADY 
EDIF_TOK_STRING 
EDIF_TOK_STRINGDISPLAY 
EDIF_TOK_STRONG 
EDIF_TOK_SYMBOL 
EDIF_TOK_SYMMETRY 
EDIF_TOK_TABLE 
EDIF_TOK_TABLEDEFAULT 
EDIF_TOK_TECHNOLOGY 
EDIF_TOK_TEXTHEIGHT 
E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OK_INTERFACE 
EDIF_TOK_INTERFIGUREGROUPSPACING 
EDIF_TOK_INTERSECTION 
EDIF_TOK_INTRAFIGUREGROUPSPACING 
EDIF_TOK_INVERSE 
EDIF_TOK_ISOLATED 
EDIF_TOK_JOINED 
EDIF_TOK_JUSTIFY 
EDIF_TOK_KEYWORDDISPLAY 
EDIF_TOK_KEYWORDLEVEL 
EDIF_TOK_KEYWORDMAP 
EDIF_TOK_LESSTHAN 
EDIF_TOK_LIBRARY 
EDIF_TOK_LIBRARYREF 
EDIF_TOK_LISTOFNETS 
EDIF_TOK_LISTOFPORTS 
EDIF_TOK_LOADDELAY 
EDIF_TOK_LOGICASSIGN 
EDIF_TOK_LOGICINPUT 
EDIF_TOK_LOGICLIST 
EDIF_TOK_LOGICMAPINPUT 
EDIF_TOK_LOGICMAPOUTPUT 
EDIF_TOK_LOGICONEOF 
EDIF_TOK_LOGICOUTPUT 
EDIF_TOK_LOGICPORT 
EDIF_TOK_LOGICREF 
EDIF_TOK_LOGICVALUE 
EDIF_TOK_LOGICWAVEFORM 
EDIF_TOK_MAINTAIN 
EDIF_TOK_MATCH 
EDIF_TOK_MEMBER 
EDIF_TOK_MINOMAX 
EDIF_TOK_MINOMAXDISPLAY 
EDIF_TOK_MNM 
EDIF_TOK_MULTIPLEVALUESET 
EDIF_TOK_MUSTJOIN 
EDIF_TOK_NAME 
EDIF_TOK_NET 
EDIF_TOK_NETBACKANNOTATE 
EDIF_TOK_NETBUNDLE 
EDIF_TOK_NETDELAY 
EDIF_TOK_NETGROUP 
EDIF_TOK_NETMAP 
EDIF_TOK_NETREF 
EDIF_TOK_NOCHANGE 
EDIF_TOK_NONPERMUTABLE 
EDIF_TOK_NOTALLOWED 
EDIF_TOK_NOTCHSPACING 
EDIF_TOK_NUMBER 
EDIF_TOK_NUMBERDEFINITION 
EDIF_TOK_NUMBERDISPLAY 
EDIF_TOK_OFFPAGECONNECTOR 
EDIF_TOK_OFFSETEVENT 
EDIF_TOK_OPENSHAPE 
EDIF_TOK_ORIENTATION 
EDIF_TOK_ORIGIN 
EDIF_TOK_OVERHANGDISTANCE 
EDIF_TOK_OVERLAPDISTANCE 
EDIF_TOK_OVERSIZE 
EDIF_TOK_OWNER 
EDIF_TOK_PAGE 
EDIF_TOK_PAGESIZE 
EDIF_TOK_PARAMETER 
EDIF_TOK_PARAMETERASSIGN 
EDIF_TOK_PARAMETERDISPLAY 
EDIF_TOK_PATH 
EDIF_TOK_PATHDELAY 
EDIF_TOK_PATHWIDTH 
EDIF_TOK_PERMUTABLE 
EDIF_TOK_PHYSICALDESIGNRULE 
EDIF_TOK_PLUG 
EDIF_TOK_POINT 
EDIF_TOK_POINTDISPLAY 
EDIF_TOK_POINTLIST 
EDIF_TOK_POLYGON 
EDIF_TOK_PORT 
EDIF_TOK_PORTBACKANNOTATE 
EDIF_TOK_PORTBUNDLE 
EDIF_TOK_PORTDELAY 
EDIF_TOK_PORTGROUP 
EDIF_TOK_PORTIMPLEMENTATION 
EDIF_TOK_PORTINSTANCE 
EDIF_TOK_PORTLIST 
EDIF_TOK_PORTLISTALIAS 
EDIF_TOK_PORTMAP 
EDIF_TOK_PORTREF 
EDIF_TOK_PROGRAM 
EDIF_TOK_PROPERTY 
EDIF_TOK_PROPERTYDISPLAY 
EDIF_TOK_PROTECTIONFRAME 
EDIF_TOK_PT 
EDIF_TOK_RANGEVECTOR 
EDIF_TOK_RECTANGLE 
EDIF_TOK_RECTANGLESIZE 
EDIF_TOK_RENAME 
EDIF_TOK_RESOLVES 
EDIF_TOK_SCALE 
EDIF_TOK_SCALEX 
EDIF_TOK_SCALEY 
EDIF_TOK_SECTION 
EDIF_TOK_SHAPE 
EDIF_TOK_SIMULATE 
EDIF_TOK_SIMULATIONINFO 
EDIF_TOK_SINGLEVALUESET 
EDIF_TOK_SITE 
EDIF_TOK_SOCKET 
EDIF_TOK_SOCKETSET 
EDIF_TOK_STATUS 
EDIF_TOK_STEADY 
EDIF_TOK_STRING 
EDIF_TOK_STRINGDISPLA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ARC 
T_RECTANGLE 
T_TEXT 
T_ELEMENTLINE 
T_ELEMENT 
T_PIN 
T_PAD 
T_GRID 
T_FLAGS 
T_SYMBOL 
T_SYMBOLLINE 
T_CURSOR 
T_ELEMENTARC 
T_MARK 
T_GROUPS 
T_STYLES 
T_POLYGON 
T_POLYGON_HOLE 
T_NETLIST 
T_NET 
T_CONN 
T_AREA 
T_THERMAL 
T_DRC 
T_ATTRIBUTE 
T_UMIL 
T_CMIL 
T_MIL 
T_IN 
T_NM 
T_UM 
T_MM 
T_M 
T_KM 
T_PX 
STRING 
INCLUDE 
STRING 
INCLUDE 

Definition at line 143 of file res_parse.c.


Function Documentation

static void dump_res ( Resource n,
int  l 
) [static]

Definition at line 1770 of file res_parse.c.

References Resource::c, ResourceVal::name, ResourceVal::subres, Resource::v, and ResourceVal::value.

Referenced by resource_dump().

int res_parse_getchars ( char *  buf,
int  max_size 
)

Definition at line 1650 of file res_parse.c.

References res_string_idx.

int reserror ( const char *  str)

Definition at line 1761 of file res_parse.c.

int reslex ( )
void resource_add_val ( Resource n,
char *  name,
char *  value,
Resource subres 
)

Definition at line 1725 of file res_parse.c.

References Resource::c, ResourceVal::name, realloc(), ResourceVal::subres, Resource::v, and ResourceVal::value.

Referenced by insert_layerpick_buttons(), insert_layerview_buttons(), and res_wrap().

Here is the call graph for this function:

Resource* resource_create ( Resource parent)

Definition at line 1714 of file res_parse.c.

References Resource::c, Resource::flags, malloc(), Resource::parent, and Resource::v.

Referenced by insert_layerpick_buttons(), insert_layerview_buttons(), and res_wrap().

Here is the call graph for this function:

void resource_dump ( Resource r)

Definition at line 1787 of file res_parse.c.

References dump_res().

Referenced by load_mouse_resource().

Here is the call graph for this function:

Resource* resource_parse ( const char *  filename,
const char **  strings 
)

Definition at line 1677 of file res_parse.c.

References filename, and parsed_res.

Referenced by ActionLoadVendorFrom(), ghid_load_menus(), and lesstif_menu().

Resource* resource_subres ( const Resource res,
const char *  name 
)
char* resource_value ( const Resource res,
char *  name 
)
static void yydestruct ( char *  yymsg,
int  yytype,
YYSTYPE yyvaluep 
) const [static]

Definition at line 1055 of file res_parse.c.

References YY_SYMBOL_PRINT, and YYUSE.

int yyparse ( void  )

Variable Documentation

Resource* current_res [static]

Definition at line 107 of file res_parse.c.

Resource* parsed_res [static]

Definition at line 106 of file res_parse.c.

Referenced by resource_parse().

FILE* res_file = NULL [static]

Definition at line 1644 of file res_parse.c.

const char* res_filename = NULL [static]

Definition at line 1643 of file res_parse.c.

Definition at line 1647 of file res_parse.c.

int res_string_idx = 0 [static]

Definition at line 1646 of file res_parse.c.

Referenced by res_parse_getchars().

const char** res_strings = NULL [static]

Definition at line 1645 of file res_parse.c.

int yychar

Definition at line 1092 of file res_parse.c.

const yytype_int8 yycheck[] [static]
Initial value:
{
       0,     1,     0,     3,     4,     5,     6,     0,     1,     5,
       3,     4,     5,     1,     3,     3,     4,     5,     6,    10,
       7,    12,     6,    -1,    -1,    11
}

Definition at line 546 of file res_parse.c.

const yytype_uint8 yydefact[] [static]
Initial value:
{
       2,     0,     0,     1,    13,     8,    10,    11,     0,     3,
       0,     4,     0,     6,     9,    12,     0,     5
}

Definition at line 507 of file res_parse.c.

const yytype_int8 yydefgoto[] [static]
Initial value:
{
      -1,     1,     2,     7,     8,     9,    10
}

Definition at line 514 of file res_parse.c.

Definition at line 1095 of file res_parse.c.

int yynerrs

Definition at line 1098 of file res_parse.c.

const yytype_int8 yypact[] [static]
Initial value:
{
      -1,     2,     7,    -1,    -1,    13,    -1,    -1,     4,    -1,
       0,    11,    12,    -1,    -1,    -1,    16,    -1
}

Definition at line 522 of file res_parse.c.

const yytype_int8 yypgoto[] [static]
Initial value:
{
      -1,    -1,    -1,    14,    -1,     9,    -1
}

Definition at line 529 of file res_parse.c.

const yytype_uint8 yyr1[] [static]
Initial value:
{
       0,     8,    10,     9,    12,    11,    13,    13,    14,    14,
      14,    14,    14,    14
}

Definition at line 491 of file res_parse.c.

const yytype_uint8 yyr2[] [static]
Initial value:
{
       0,     2,     0,     2,     0,     4,     2,     0,     1,     3,
       1,     1,     3,     1
}

Definition at line 498 of file res_parse.c.

const yytype_uint8 yystos[] [static]
Initial value:
{
       0,     9,    10,     0,     1,     3,     4,    11,    12,    13,
      14,     7,     5,    13,     3,    11,    13,     6
}

Definition at line 555 of file res_parse.c.

const yytype_int8 yytable[] [static]
Initial value:
{
      -7,     4,     3,     5,     6,    -4,    -7,    -7,     4,    12,
       5,     6,    -4,     4,    14,     5,     6,    -4,    -7,    13,
      11,    16,    17,     0,     0,    15
}

Definition at line 539 of file res_parse.c.

const yytype_uint8 yytranslate[] [static]
Initial value:
{
       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,     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,     7,     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,     5,     2,     6,     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
}

Definition at line 415 of file res_parse.c.