Changeset 21 for vis_dev/vis-2.3/src/rob/Robust.c
- Timestamp:
- Jul 19, 2011, 4:51:20 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vis_dev/vis-2.3/src/rob/Robust.c
r19 r21 147 147 mvar_type mVar = array_fetch(mvar_type, 148 148 mdd_ret_mvar_list(mddManager),mddId); 149 int protect ed= 0, j;149 int protect = 0, j; 150 150 for ( j = 0 ; j < array_n( wordArray ) ; j++ ) { 151 151 char* w = array_fetch( char*, wordArray, j ); … … 154 154 if (l > 0 && w[l-1] == '*') { 155 155 if (strncmp(mVar.name, w, l-1) == 0) { 156 protect ed= 1;156 protect = 1; 157 157 break; 158 158 } 159 159 } 160 160 else if (strcmp(mVar.name, w) == 0) { 161 protect ed= 1;161 protect = 1; 162 162 break; 163 163 } 164 164 } 165 165 (void) fprintf(vis_stdout, "%-20s%10d", mVar.name, mVar.values); 166 if (protect ed) {166 if (protect) { 167 167 (void) fprintf(vis_stdout, " protected\n"); 168 168 } … … 187 187 int verbosityLevel, 188 188 int printStep, 189 FILE* protect ed) {189 FILE* protect) { 190 190 mdd_manager *mddManager = Fsm_FsmReadMddManager(fsm); 191 191 array_t *nonProtectedIdArray; … … 195 195 // construction du vecteur des registres non protégés 196 196 nonProtectedIdArray = 197 determine_non_protected_registers(fsm,protect ed);197 determine_non_protected_registers(fsm,protect); 198 198 199 199 if (array_n(nonProtectedIdArray) == … … 483 483 mdd_t* error_states_us_ut(Fsm_Fsm_t *fsm, 484 484 mdd_t* S, 485 FILE* protect ed) {485 FILE* protect) { 486 486 mdd_manager *mddManager = Fsm_FsmReadMddManager(fsm); 487 487 array_t *nonProtectedIdArray, *bdd_vars; … … 490 490 // construction du vecteur des registres non protégés 491 491 nonProtectedIdArray = 492 determine_non_protected_registers(fsm,protect ed);492 determine_non_protected_registers(fsm,protect); 493 493 494 494 bdd_vars = getbddvars(mddManager, nonProtectedIdArray); … … 503 503 mdd_t* error_states_ms_ut(Fsm_Fsm_t *fsm, 504 504 mdd_t* S, 505 FILE* protect ed) {505 FILE* protect) { 506 506 mdd_manager *mddManager = Fsm_FsmReadMddManager(fsm); 507 507 array_t *nonProtectedIdArray, *bdd_vars; … … 510 510 // construction du vecteur des registres non protégés 511 511 nonProtectedIdArray = 512 determine_non_protected_registers(fsm,protect ed);512 determine_non_protected_registers(fsm,protect); 513 513 514 514 bdd_vars = getbddvars(mddManager, nonProtectedIdArray); … … 525 525 mdd_t* S0, 526 526 mdd_t* S, 527 FILE* protect ed) {527 FILE* protect) { 528 528 mdd_manager *mddManager = Fsm_FsmReadMddManager(fsm); 529 529 array_t *nonProtectedIdArray, *bdd_vars; … … 536 536 537 537 nonProtectedIdArray = 538 determine_non_protected_registers(fsm,protect ed);538 determine_non_protected_registers(fsm,protect); 539 539 bdd_vars = getbddvars(mddManager, nonProtectedIdArray); 540 540 … … 632 632 mdd_t* error_states_us_mt(Fsm_Fsm_t *fsm, 633 633 mdd_t *S, 634 FILE *protect ed) {634 FILE *protect) { 635 635 636 636 mdd_manager *mddManager = Fsm_FsmReadMddManager(fsm); 637 637 638 638 // construction du vecteur des registres non protégés 639 array_t *nonProtectedIdArray = determine_non_protected_registers(fsm, protect ed);639 array_t *nonProtectedIdArray = determine_non_protected_registers(fsm, protect); 640 640 array_t *bdd_vars = getbddvars(mddManager, nonProtectedIdArray); 641 641 // sauvegarde des états initiaux et accessibles courants
Note: See TracChangeset
for help on using the changeset viewer.