Example #1
0
int Proc_6 (Enumeration Enum_Val_Par, Enumeration *Enum_Ref_Par)
/*********************************/
    /* executed once */
    /* Enum_Val_Par == Ident_3, Enum_Ref_Par becomes Ident_2 */
{
  *Enum_Ref_Par = Enum_Val_Par;
  if (! Func_3 (Enum_Val_Par))
    /* then, not executed */
    *Enum_Ref_Par = Ident_4;
  switch (Enum_Val_Par)
  {
    case Ident_1: 
      *Enum_Ref_Par = Ident_1;
      break;
    case Ident_2: 
      if (Int_Glob > 100)
        /* then */
      *Enum_Ref_Par = Ident_1;
      else *Enum_Ref_Par = Ident_4;
      break;
    case Ident_3: /* executed */
      *Enum_Ref_Par = Ident_2;
      break;
    case Ident_4: break;
    case Ident_5: 
      *Enum_Ref_Par = Ident_3;
      break;
  } /* switch */
  return 0;
} /* Proc_6 */
Example #2
0
/* executed once */
void Proc_6(Enumeration Enum_Val_Par,Enumeration *Enum_Ref_Par)
{
 *Enum_Ref_Par = Enum_Val_Par;
 if(!Func_3(Enum_Val_Par))
   *Enum_Ref_Par = Ident_4;
 switch(Enum_Val_Par)
 {
  case Ident_1:*Enum_Ref_Par = Ident_1;
               break;
  case Ident_2:if(Int_Glob > 100)
                 *Enum_Ref_Par = Ident_1;
               else 
	         *Enum_Ref_Par = Ident_4;
               break;
   /* executed */
  case Ident_3:*Enum_Ref_Par = Ident_2;
	       break;
  case Ident_4:break;
  case Ident_5:*Enum_Ref_Par = Ident_3;
               break;
 }
}
Example #3
0
void Proc_6 (Enumeration Enum_Val_Par, Enumeration *Enum_Ref_Par)
/*********************************/
/* executed once */
/* Enum_Val_Par == Ident_3, Enum_Ref_Par becomes Ident_2 */

{
//	FITIN_MONITOR_VARIABLE(Enum_Val_Par);
//	FITIN_MONITOR_MEMORY(Enum_Ref_Par, sizeof(Enumeration));

    *Enum_Ref_Par = Enum_Val_Par;
    if (! Func_3 (Enum_Val_Par))
        /* then, not executed */
    {
        *Enum_Ref_Par = Ident_4;
    }
    switch (Enum_Val_Par) {
    case Ident_1:
        *Enum_Ref_Par = Ident_1;
        break;
    case Ident_2:
        if (Int_Glob > 100)
            /* then */
        {
            *Enum_Ref_Par = Ident_1;
        } else {
            *Enum_Ref_Par = Ident_4;
        }
        break;
    case Ident_3: /* executed */
        *Enum_Ref_Par = Ident_2;
        break;
    case Ident_4:
        break;
    case Ident_5:
        *Enum_Ref_Par = Ident_3;
        break;
    } /* switch */
} /* Proc_6 */
Example #4
0
//#LIS# Start LIS Modification
//Proc_6 (Enum_Val_Par, Enum_Ref_Par)
Proc_6()
/*********************************/
    /* executed once */
    /* Enum_Val_Par == Ident_3, Enum_Ref_Par becomes Ident_2 */

//Enumeration  Enum_Val_Par;  //this has been made global
//Enumeration *Enum_Ref_Par;  //this has been made global
//#LIS# End LIS Modification
{
  *Enum_Ref_Par = Enum_Val_Par;
  //#LIS# Start LIS Modification
  //if (! Func_3 (Enum_Val_Par))
  if (! Func_3 ())
  //#LIS# End LIS Modification    
    /* then, not executed */
    *Enum_Ref_Par = Ident_4;
  switch (Enum_Val_Par)
  {
    case Ident_1: 
      *Enum_Ref_Par = Ident_1;
      break;
    case Ident_2: 
      if (Int_Glob > 100)
        /* then */
      *Enum_Ref_Par = Ident_1;
      else *Enum_Ref_Par = Ident_4;
      break;
    case Ident_3: /* executed */
      *Enum_Ref_Par = Ident_2;
      break;
    case Ident_4: break;
    case Ident_5: 
      *Enum_Ref_Par = Ident_3;
      break;
  } /* switch */
} /* Proc_6 */