Swathi - 2022-11-01

Hi,
we are using smc 6.6.0 to generate .cpp files from sample.sm file using the below command
"java -jar smc/bin/Smc.jar -c++ -noex sample.sm"
and the sample_sm.cpp file generates with the above command.

But using the new smc.jar file from 7.3.0 and the same command,
the sample_sm.cpp file is generating but the state names are generated as NULL as below,

XXXFsm_Start XXXFsm::Start(NULL, 0);
XXXFsm_State XXXFsm::State(NULL, 1);

Is there anything else to modify in the above command while using the smc.jar file from 7.3.0 version to get the correct .cpp files?

Please reply.

Thanking you in advance.

Best Regards,
Swathi.

 

Last edit: Swathi 2022-11-03