Closed sstiller closed 5 years ago
A better version of https://github.com/jp-embedded/scxmlcc/pull/78. #include, type declarations, etc. can now be added. Example:
#include
<scxml initial="hello" version="0.9" xmlns="http://www.w3.org/2005/07/scxml"> <script>#include "foo.h"</script> <script>void hello() { std::cout << "Hello" << std::endl; }</script> <state id="hello"/> </scxml>
results in
... // user initialisations #include "foo.h" void hello() { std::cout << "Hello" << std::endl; } ...
Closes #63
That was fast - great :-)
A better version of https://github.com/jp-embedded/scxmlcc/pull/78.
#include
, type declarations, etc. can now be added. Example:results in
Closes #63