Keep no space in the template for the dead state transitions

This commit is contained in:
Robin Jadoul 2016-05-27 16:12:25 +02:00
parent d5a7832746
commit 43968e90bc
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ namespace { //The automaton data
unsigned char TRANS_IDX[256] = { {{#trans_idx}}{{trans}}, {{/trans_idx}} };
State TABLE[{{num_states}}][{{num_transitions_per_state}}] = { {{#table}}
State TABLE[{{num_states}} - 1][{{num_transitions_per_state}}] = { {{#table}}
{ {{#row}} {{state}}, {{/row}} },
{{/table}} };