Possibilite de mettre un espace en premier
This commit is contained in:
parent
5a6c402d1e
commit
1107eff334
|
@ -738,15 +738,20 @@ PPlacement::ParseIocFile(PLoconMap& ploconmap)
|
||||||
}
|
}
|
||||||
switch (tmpcon->ORIENT)
|
switch (tmpcon->ORIENT)
|
||||||
{
|
{
|
||||||
case 'T' : orientation = NORTH;
|
case 'T':
|
||||||
|
orientation = NORTH;
|
||||||
break;
|
break;
|
||||||
case 'B' : orientation = SOUTH;
|
case 'B':
|
||||||
|
orientation = SOUTH;
|
||||||
break;
|
break;
|
||||||
case 'L' : orientation = WEST;
|
case 'L':
|
||||||
|
orientation = WEST;
|
||||||
break;
|
break;
|
||||||
case 'R' : orientation = EAST;
|
case 'R':
|
||||||
|
orientation = EAST;
|
||||||
break;
|
break;
|
||||||
default: cerr << "Unknown Orientation for connector: "
|
default:
|
||||||
|
cerr << "Unknown Orientation for connector: "
|
||||||
<< tmpcon->NAME << endl;
|
<< tmpcon->NAME << endl;
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,7 +63,7 @@ orientation : TOP {
|
||||||
|
|
||||||
expr :
|
expr :
|
||||||
| iopin expr;
|
| iopin expr;
|
||||||
| iopin space expr;
|
| space expr;
|
||||||
|
|
||||||
|
|
||||||
iopin : PAROUV IOPIN iopin1 PARFER PTVIRG;
|
iopin : PAROUV IOPIN iopin1 PARFER PTVIRG;
|
||||||
|
@ -112,6 +112,7 @@ con_list* add_con(con_list* ptlist, char orient, char* name)
|
||||||
|
|
||||||
return ptcon;
|
return ptcon;
|
||||||
}
|
}
|
||||||
|
|
||||||
con_list* add_space(con_list* ptlist, char orient, char *value)
|
con_list* add_space(con_list* ptlist, char orient, char *value)
|
||||||
{
|
{
|
||||||
con_list* ptcon;
|
con_list* ptcon;
|
||||||
|
@ -124,6 +125,7 @@ con_list* add_space(con_list* ptlist, char orient, char *value)
|
||||||
|
|
||||||
return ptcon;
|
return ptcon;
|
||||||
}
|
}
|
||||||
|
|
||||||
con_list* iocparse(char *file)
|
con_list* iocparse(char *file)
|
||||||
{
|
{
|
||||||
extern FILE *yyin;
|
extern FILE *yyin;
|
||||||
|
|
Loading…
Reference in New Issue