Changeset 226 for trunk/zoo-kernel
- Timestamp:
- Jun 4, 2011, 3:11:00 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-kernel/service_conf.y
r216 r226 356 356 //====================================================== 357 357 EmptyElemTag 358 : INFCAR ID Attributeetoile SLASH SUPCAR {} 358 : INFCAR ID Attributeetoile SLASH SUPCAR { 359 if(strncasecmp($2,"Default",7)==0){ 360 wait_defaults=false; 361 current_data=previous_data; 362 if(current_element->defaults==NULL){ 363 current_element->defaults=(iotype*)malloc(IOTYPE_SIZE); 364 current_element->defaults->content=NULL; 365 } 366 addMapToMap(¤t_element->defaults->content,current_content); 367 freeMap(¤t_content); 368 free(current_content); 369 current_element->defaults->next=NULL; 370 wait_defaults=false; 371 current_content=NULL; 372 current_element->supported=NULL; 373 current_element->next=NULL; 374 } 375 } 359 376 ; 360 377
Note: See TracChangeset
for help on using the changeset viewer.