slicc: improved invalid transition message

This commit is contained in:
Brad Beckmann 2011-03-19 14:17:48 -07:00
parent 31d0a421a9
commit 08d73529bc

View file

@ -1232,8 +1232,8 @@ if (!%s.areNSlotsAvailable(%s))
code(''' code('''
default: default:
fatal("Invalid transition\\n" fatal("Invalid transition\\n"
"version: %d time: %d addr: %s event: %s state: %s\\n", "%s time: %d addr: %s event: %s state: %s\\n",
m_version, g_eventQueue_ptr->getTime(), addr, event, state); name(), g_eventQueue_ptr->getTime(), addr, event, state);
} }
return TransitionResult_Valid; return TransitionResult_Valid;
} }