diff options
Diffstat (limited to 'test/rlhc.d/case/targs1_c.c-C-F0--goto-backend.in')
-rw-r--r-- | test/rlhc.d/case/targs1_c.c-C-F0--goto-backend.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rlhc.d/case/targs1_c.c-C-F0--goto-backend.in b/test/rlhc.d/case/targs1_c.c-C-F0--goto-backend.in index 915a1218..37f5a02e 100644 --- a/test/rlhc.d/case/targs1_c.c-C-F0--goto-backend.in +++ b/test/rlhc.d/case/targs1_c.c-C-F0--goto-backend.in @@ -21,7 +21,7 @@ array s8 _targs1_char_class( 0, 11 ) = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, array s8 _targs1_index_offsets( 0, 16 ) = { 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 16, 16, 16, 0 }; -array s8 _targs1_indicies( 0, 15 ) = { 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 14, 15, 0 }; +array s8 _targs1_indices( 0, 15 ) = { 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 14, 15, 0 }; array s8 _targs1_index_defaults( 0, 1 ) = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 }; @@ -81,13 +81,13 @@ host( "working/targs1_c.rl", 34 ) @{ goto _out; label _resume { _keys = offset( _targs1_trans_keys, (cs<<1) ); - _inds = offset( _targs1_indicies, _targs1_index_offsets[cs] ); + _inds = offset( _targs1_indices, _targs1_index_offsets[cs] ); if ( ( deref( data, p )) <= 119 && ( deref( data, p )) >= 10 ) { int _ic = cast(int)_targs1_char_class[cast(int)( deref( data, p )) - 10]; if ( _ic <= cast(int)deref( _targs1_trans_keys, _keys+1 ) && _ic >= cast(int)deref( _targs1_trans_keys, _keys ) ) - _trans = cast(int)deref( _targs1_indicies, _inds + cast(int)( _ic - cast(int)deref( _targs1_trans_keys, _keys ) ) ); + _trans = cast(int)deref( _targs1_indices, _inds + cast(int)( _ic - cast(int)deref( _targs1_trans_keys, _keys ) ) ); else _trans = cast(int)_targs1_index_defaults[cs]; } |