Menu

#5 Event Names Cannot Be All Caps With Underscores

open
FSMC (2)
5
2006-05-03
2006-05-03
No

I don't know if this is a feature or a bug in
fsmc-1.0.3, but I cannot get the implementation code to
generate when I use events with names that are all caps
with underscores. It seems to parse only the first word
up to an underscore as an event.

Here's the error when I use PRIVILEGE_GRANTED as an event:

"error: Token "PRIVILEGE" is not an event or input name"

I believe this error occurs within "processCondition()"
of main.cpp.

I worked around this problem by removing all the
underscores in events, generated the code, and then
renamed the events to my liking in the generated code.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB