Ejemplo n.º 1
0
static int iC_2(iC_Gt * iC_gf) {
    if (iC_gf->gt_val < 0)
#line 9 "./Test0/CppComment.ic"
{
    iC_AA(2 , iC_AV(3) + iC_AV(4));	// C++ comment in embedded C reported by -P option
}
#line 49 "./Test0/CppComment.c"
    return 0;
}
Ejemplo n.º 2
0
static int iC_6(iC_Gt * iC_gf) {
    switch (iC_gf->gt_new)
#line 22 "./Test0/h9.ic"
{
case 0:
  for (d = 0; d <= 2; d++) { printf("%d: Low Nr. %d\n", d, 0); }
    break;
case 1:
  for (d = 0; d <= 2; d++) { printf("%d: Med Nr. %d\n", d, 1); }
    break;
case 2:
  for (d = 0; d <= 2; d++) { printf("%d: Hi  Nr. %d\n", d, 2); }
    break;
default:
  for (d = 0; d <= 2; d++) { printf("%d: Off Nr. %d\n", d, iC_AV(2)); }
    break;
}
#line 112 "./Test0/h9.c"
    return 0;
} /* iC_6 */