diff options
Diffstat (limited to 'test/rlhc.d/case/next2_c.c-C-F1--goto-backend.in')
-rw-r--r-- | test/rlhc.d/case/next2_c.c-C-F1--goto-backend.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rlhc.d/case/next2_c.c-C-F1--goto-backend.in b/test/rlhc.d/case/next2_c.c-C-F1--goto-backend.in index 6423e59e..616aff21 100644 --- a/test/rlhc.d/case/next2_c.c-C-F1--goto-backend.in +++ b/test/rlhc.d/case/next2_c.c-C-F1--goto-backend.in @@ -20,7 +20,7 @@ array s8 _next2_char_class( 0, 15 ) = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 array s8 _next2_index_offsets( 0, 23 ) = { 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 23, 23, 23, 23, 0 }; -array s8 _next2_indicies( 0, 21 ) = { 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 0, 1, 19, 20, 21, 0 }; +array s8 _next2_indices( 0, 21 ) = { 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 0, 1, 19, 20, 21, 0 }; array s8 _next2_index_defaults( 0, 1 ) = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 }; @@ -78,13 +78,13 @@ host( "working/next2_c.rl", 54 ) @{ goto _out; label _resume { _keys = offset( _next2_trans_keys, (cs<<1) ); - _inds = offset( _next2_indicies, _next2_index_offsets[cs] ); + _inds = offset( _next2_indices, _next2_index_offsets[cs] ); if ( ( deref( data, p )) <= 120 && ( deref( data, p )) >= 10 ) { int _ic = cast(int)_next2_char_class[cast(int)( deref( data, p )) - 10]; if ( _ic <= cast(int)deref( _next2_trans_keys, _keys+1 ) && _ic >= cast(int)deref( _next2_trans_keys, _keys ) ) - _trans = cast(int)deref( _next2_indicies, _inds + cast(int)( _ic - cast(int)deref( _next2_trans_keys, _keys ) ) ); + _trans = cast(int)deref( _next2_indices, _inds + cast(int)( _ic - cast(int)deref( _next2_trans_keys, _keys ) ) ); else _trans = cast(int)_next2_index_defaults[cs]; } |