52 static int p_end(
void);
57 static int p_box(
void);
61 static int p_point(
long*,
long*);
114 p_error(
"Can't open CIF file.");
148 *StatusInt =
p_end();
157 p_error(
"Can't understand next command.");
206 fprintf(stderr,
" ENTERING PSYMBOL\n");
214 for(For =
'0'; For <=
'9'; ++For){
292 p_error(
"Can't parse translation transform.");
319 p_error(
"Can't parse mirror transform.");
325 p_error(
"Can't parse rotation transform.");
336 p_error(
"Can't parse transformation.");
353 fprintf(stderr,
" ENTERING PPOLYGON\n");
358 fprintf(stderr,
" LEAVING PPATH\n");
368 for (Pt = Path; Pt; Pt = Path) {
375 fprintf(stderr,
" LEAVING PPOLYGON\n");
383 long Length,Width,
X,
Y;
384 long XDirection,YDirection;
410 if(
ABox(Length,Width,X,Y,(
int)XDirection,(
int)YDirection) ==
PFAILED){
449 fprintf(stderr,
" ENTERING PWIRE\n");
456 fprintf(stderr,
" ENTERING PPATH\n");
479 fprintf(stderr,
" PPATH FAILED AFTER PLOOKAHEAD\n");
489 fprintf(stderr,
" PPATH POINT %ld, %ld\n",X,Y);
517 p_error(
"Bad X,Y path element.");
530 char Technology,Mask[4];
533 Mask[0] = Mask[1] = Mask[2] =
' '; Mask[3] =
'\0';
538 p_error(
"At least one character expected after L in layer command.");
575 p_error(
"Illegal CIF layer name with > 4 characters discovered.");
598 fprintf(stderr,
"PString = %s\n",
PString);
603 p_error(
"User extension command longer than 1920 characters.");
630 p_error(
"Comment command longer than 1920 characters.");
648 for(Int1 = 0;Int1 < 20;++Int1){
659 fprintf(stderr,
"%s\n",PErrorMessage);
672 p_error(
"; expected and not found.");
680 sprintf(buf,
"Undefined layer: %c%s. ",Tech,Mask);
695 int WhiteSpaceControl,EOFControl;
714 int WhiteSpaceControl,EOFControl;
734 And (PChar < '0' Or PChar >
'9')
And PChar !=
';'){
785 int WhiteSpaceControl, For;
static char buf[MAXPROMPT]
static int p_white_space_1()
int PCharacter(int WhiteSpaceControl, int EOFControl)
static int p_white_space()
static void p_error_badlayer()
#define PSTRIPWHITESPACE1
#define PSTRIPWHITESPACE2
char PString[PSTRINGSIZE]
static int p_delete_symbol()
static void p_error_nosemi()
static void p_error_EOF()
static int p_user_extension()
static int p_white_space_2()
static int p_round_flash()
static int p_primitive_cmd()
static int p_look_for_semi()
void char ** StatusString
static int p_look_ahead()
#define PSTRIPWHITESPACE3