Want more features on Pastebin? Sign Up, it's FREE!
Guest

FSM_Table

By: a guest on Jul 17th, 2011  |  syntax: C++  |  size: 0.46 KB  |  views: 84  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. struct StateMachine::branch StateMachine::transition_table_full[3][3] =
  2. {
  3.   {
  4.     {before, ' ', before, 0},
  5.     {before, '\n', before, &char_put(int c)},
  6.     {before, '\a', inside, &char_put(int c)}
  7.   },
  8.   {
  9.     {inside, ' ', after,  0},
  10.     {inside, '\n', before, &char_put(int c)},
  11.     {inside, '\a', inside, &char_put(int c)}
  12.   },
  13.   {
  14.     {after,  ' ', after,  0},
  15.     {after,  '\n', before, &char_put(int c)},
  16.     {after,  '\a', after,  0}
  17.   }
  18. };
clone this paste RAW Paste Data