Changeset 75 for anr/gantt.l
- Timestamp:
- Feb 3, 2010, 12:33:25 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anr/gantt.l
r63 r75 133 133 134 134 char* gen_label_base(char* buf,Tlivrable*p) 135 { sprintf(buf,"D%d%d%d",p->tn,p->stn,p->dn); return buf; }135 { if (p->dn >=0) sprintf(buf,"D%d%d%d",p->tn,p->stn,p->dn); else sprintf(buf,""); return buf; } 136 136 char* gen_label_vers(char* buf,Tlivrable*p) 137 137 { if (p->nbvers<=1) strcpy(buf,""); else sprintf(buf,"V%c",p->v); return buf; } … … 222 222 S=[0-9]+ { stn=atoi(yytext+2); } 223 223 D=[0-9]+ { dn=atoi(yytext+2); } 224 D=none { dn=-2; } 224 225 V=V[1-8F] { v=yytext[3]; } 225 226 ML=[0-9]+ { … … 545 546 for (stn=0 ; curr->ls[tn][stn][0][0]!=0 ; stn++) 546 547 for (dn=0 ; curr->ls[tn][stn][dn][0]!=0 ; dn++) { 547 y=delivrable(label_x,box_x,title_x,y,tn,stn,dn); 548 if (curr->ls[tn][stn][dn][0]->dn >=0) 549 y=delivrable(label_x,box_x,title_x,y,tn,stn,dn); 548 550 } 549 551 }
Note: See TracChangeset
for help on using the changeset viewer.