for ( CondSpaceList::Iter csi = condSpaceList; csi.lte(); csi++ ) {
CondSpace *condSpace = csi;
- out << " when " << condSpace->condSpaceId << ":" ;
+ out << " when " << condSpace->condSpaceId << " then" ;
out << " _widec = " << KEY(condSpace->baseKey) <<
"+ (" << GET_KEY() << " - " << KEY(keyOps->minKey) << ")\n";
/* Write out referenced actions. */
if ( act->numFromStateRefs > 0 ) {
/* Write the case label, the action */
- out << " when " << act->actionId << ":\n";
+ out << " when " << act->actionId << " then\n";
ACTION( out, act, 0, false );
}
}
/* Write out referenced actions. */
if ( act->numToStateRefs > 0 ) {
/* Write the case label, the action and the case break. */
- out << "when " << act->actionId << "\n";
+ out << "when " << act->actionId << " then\n";
ACTION( out, act, 0, false );
}
}
/* Write out referenced actions. */
if ( act->numEofRefs > 0 ) {
/* Write the case label, the action and the case break. */
- out << "when " << act->actionId << ":\n";
+ out << "when " << act->actionId << " then\n";
ACTION( out, act, 0, true );
}
}
/* Write out referenced actions. */
if ( act->numTransRefs > 0 ) {
/* Write the case label, the action and the case break. */
- out << "when " << act->actionId << ":\n";
+ out << "when " << act->actionId << " then\n";
ACTION( out, act, 0, false );
}
}
action two { prints " two\n";}
action three { prints " three\n";}
- action seti { if ( fc == '0' ) i = false; else i = true; }
- action setj { if ( fc == '0' ) j = false; else j = true; }
- action setk { if ( fc == '0' ) k = false; else k = true; }
+ action seti { if ( fc == 48 ) i = false; else i = true; }
+ action setj { if ( fc == 48 ) j = false; else j = true; }
+ action setk { if ( fc == 48 ) k = false; else k = true; }
action break {fbreak;}