gv_fsm 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/gv_fsm +1 -1
- data/lib/templates.rb +1 -0
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d5cf386d941c15a1f9c6efb216b87d53e1d2836db174974f29290873c53a86b
|
4
|
+
data.tar.gz: 9d1bcf0cd2d1bf32ca797d76f4e776a6462dbedc565399da20ef1c581b66fa47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22269db6b746cba79aace36079d7857850f67d2f484b4661b738ce10b9f15f659f6e6fa1092c8a67d02d8b392ccdce12f2a78dfa41c9d8980e5fae91aaea59bb
|
7
|
+
data.tar.gz: f0408ea83e6cd16a94b8b82916185eec48d779600c93d4f79555edd2ff8268f232c20310abc0c5606014a502ac8ce33b98727815663ffdaf61888109a88c039e
|
data/bin/gv_fsm
CHANGED
data/lib/templates.rb
CHANGED
@@ -226,6 +226,7 @@ module GV_FSM
|
|
226
226
|
|
227
227
|
<%= @prefix %>state_t <%= @prefix %>run_state(<%= @prefix %>state_t cur_state, <%= @prefix %>state_data_t *data) {
|
228
228
|
<%= @prefix %>state_t new_state = <%= @prefix %>state_table[cur_state](data);
|
229
|
+
if (new_state == <%= @prefix.upcase %>NO_CHANGE) new_state = cur_state;
|
229
230
|
<% if transition_functions_list.count > 0 then %>
|
230
231
|
transition_func_t *transition = <%= @prefix %>transition_table[cur_state][new_state];
|
231
232
|
if (transition)
|
data/lib/version.rb
CHANGED