#include "cddefs.h"
#include "cdparser.h"
Go to the source code of this file.
Definition at line 125 of file parser.c.
int PCharacter(int WhiteSpaceControl, int EOFControl)
#define PSTRIPWHITESPACE2
static int p_delete_symbol()
Definition at line 381 of file parser.c.
383 long Length,Width,
X,
Y;
384 long XDirection,YDirection;
410 if(
ABox(Length,Width,X,Y,(
int)XDirection,(
int)YDirection) ==
PFAILED){
static void p_error_nosemi()
static int p_look_for_semi()
Definition at line 273 of file parser.c.
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.");
int PCharacter(int WhiteSpaceControl, int EOFControl)
#define PSTRIPWHITESPACE2
static void p_error_EOF()
Definition at line 611 of file parser.c.
630 p_error(
"Comment command longer than 1920 characters.");
int PCharacter(int WhiteSpaceControl, int EOFControl)
#define PSTRIPWHITESPACE1
char PString[PSTRINGSIZE]
static void p_error_nosemi()
static int p_delete_symbol |
( |
| ) |
|
|
static |
Definition at line 258 of file parser.c.
static int p_look_for_semi()
static void p_error |
( |
char * |
PErrorMessage | ) |
|
|
static |
Definition at line 643 of file parser.c.
648 for(Int1 = 0;Int1 < 20;++Int1){
659 fprintf(stderr,
"%s\n",PErrorMessage);
int PCharacter(int WhiteSpaceControl, int EOFControl)
char PString[PSTRINGSIZE]
static void p_error_badlayer |
( |
| ) |
|
|
static |
static void p_error_badlayer |
( |
char |
Tech, |
|
|
char* |
Mask |
|
) |
| |
|
static |
Definition at line 676 of file parser.c.
680 sprintf(buf,
"Undefined layer: %c%s. ",Tech,Mask);
static char buf[MAXPROMPT]
static void p_error_CD |
( |
| ) |
|
|
static |
static void p_error_EOF |
( |
| ) |
|
|
static |
static void p_error_nosemi |
( |
| ) |
|
|
static |
static int p_integer |
( |
int |
EOFControl | ) |
|
|
static |
Definition at line 814 of file parser.c.
static int p_white_space_1()
int PCharacter(int WhiteSpaceControl, int EOFControl)
#define PSTRIPWHITESPACE1
static void p_error_EOF()
Definition at line 528 of file parser.c.
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.");
int PCharacter(int WhiteSpaceControl, int EOFControl)
static void p_error_badlayer()
#define PSTRIPWHITESPACE1
#define PSTRIPWHITESPACE2
static void p_error_EOF()
static int p_look_ahead |
( |
| ) |
|
|
static |
static int p_look_ahead |
( |
int |
WhiteSpaceControl, |
|
|
int |
For |
|
) |
| |
|
static |
Definition at line 784 of file parser.c.
int PCharacter(int WhiteSpaceControl, int EOFControl)
static int p_look_for_semi |
( |
| ) |
|
|
static |
Definition at line 796 of file parser.c.
static int p_white_space_1()
static void p_error_EOF()
static int p_path |
( |
struct p ** |
Path | ) |
|
|
static |
Definition at line 468 of file parser.c.
479 fprintf(stderr,
" PPATH FAILED AFTER PLOOKAHEAD\n");
489 fprintf(stderr,
" PPATH POINT %ld, %ld\n",X,Y);
static int p_look_for_semi()
static int p_point |
( |
long * |
X, |
|
|
long* |
Y |
|
) |
| |
|
static |
Definition at line 505 of file parser.c.
517 p_error(
"Bad X,Y path element.");
static int p_look_for_semi()
Definition at line 348 of file parser.c.
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");
static int p_primitive_cmd |
( |
| ) |
|
|
static |
Definition at line 166 of file parser.c.
static int p_user_extension()
static int p_round_flash()
static int p_round_flash |
( |
| ) |
|
|
static |
Definition at line 418 of file parser.c.
static void p_error_nosemi()
static int p_look_for_semi()
Definition at line 199 of file parser.c.
206 fprintf(stderr,
" ENTERING PSYMBOL\n");
214 for(For =
'0'; For <=
'9'; ++For){
if((PCIFFileDesc=POpen(CIFFileName,"r",(char **) NULL))==NULL)
int PCharacter(int WhiteSpaceControl, int EOFControl)
#define PSTRIPWHITESPACE1
#define PSTRIPWHITESPACE2
static int p_primitive_cmd()
static int p_look_for_semi()
static int p_look_ahead()
#define PSTRIPWHITESPACE3
static int p_user_extension |
( |
| ) |
|
|
static |
Definition at line 580 of file parser.c.
598 fprintf(stderr,
"PString = %s\n",
PString);
603 p_error(
"User extension command longer than 1920 characters.");
int PCharacter(int WhiteSpaceControl, int EOFControl)
char PString[PSTRINGSIZE]
static int p_white_space |
( |
| ) |
|
|
static |
static int p_white_space |
( |
int |
WhiteSpaceControl, |
|
|
int |
EOFControl |
|
) |
| |
|
static |
Definition at line 713 of file parser.c.
734 And (PChar < '0' Or PChar >
'9')
And PChar !=
';'){
#define PSTRIPWHITESPACE1
#define PSTRIPWHITESPACE2
static void p_error_EOF()
#define PSTRIPWHITESPACE3
static int p_white_space_1 |
( |
| ) |
|
|
static |
static int p_white_space_1 |
( |
int |
EOFControl | ) |
|
|
static |
Definition at line 763 of file parser.c.
static void p_error_EOF()
static int p_white_space_2 |
( |
| ) |
|
|
static |
Definition at line 443 of file parser.c.
449 fprintf(stderr,
" ENTERING PWIRE\n");
456 fprintf(stderr,
" ENTERING PPATH\n");
int PCharacter |
( |
int |
WhiteSpaceControl, |
|
|
int |
EOFControl |
|
) |
| |
Definition at line 694 of file parser.c.
static int p_white_space()
static void p_error_EOF()
Initial value:{
int PCharacter(int WhiteSpaceControl, int EOFControl)
#define PSTRIPWHITESPACE2
Definition at line 118 of file parser.c.