Changeset 453 for trunk/zoo-project/zoo-kernel/main_conf_read.y
- Timestamp:
- Feb 12, 2014, 3:25:15 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/main_conf_read.y
r446 r453 249 249 //====================================================== 250 250 251 pair: PAIR {curr_key= strdup($1);/*printf("START 0 PAIR FOUND !! \n [%s]\n",$1);*/}251 pair: PAIR {curr_key=zStrdup($1);/*printf("START 0 PAIR FOUND !! \n [%s]\n",$1);*/} 252 252 | EPAIR { 253 253 if(current_content==NULL) … … 262 262 free(curr_key); 263 263 } 264 | SPAIR {curr_key= strdup($1);if(debug) printf("SPAIR FOUND !!\n"); }264 | SPAIR {curr_key=zStrdup($1);if(debug) printf("SPAIR FOUND !!\n"); } 265 265 ; 266 266 … … 274 274 current_maps->next=NULL; 275 275 current_maps->next=(maps*)malloc(MAPS_SIZE); 276 current_maps->next->name= strdup($1);276 current_maps->next->name=zStrdup($1); 277 277 current_maps->next->content=NULL; 278 278 current_maps->next->next=NULL;
Note: See TracChangeset
for help on using the changeset viewer.