diff options
Diffstat (limited to 'test/rlhc.d/case/cond4.cpp-C-F1--goto-backend.in')
-rw-r--r-- | test/rlhc.d/case/cond4.cpp-C-F1--goto-backend.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rlhc.d/case/cond4.cpp-C-F1--goto-backend.in b/test/rlhc.d/case/cond4.cpp-C-F1--goto-backend.in index 19fbe4e8..e19c4c8c 100644 --- a/test/rlhc.d/case/cond4.cpp-C-F1--goto-backend.in +++ b/test/rlhc.d/case/cond4.cpp-C-F1--goto-backend.in @@ -16,7 +16,7 @@ array s8 _foo_char_class( 0, 5 ) = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1 array s8 _foo_index_offsets( 0, 0 ) = { 0, 0, 0 }; -array s8 _foo_indicies( 0, 6 ) = { 0, 2, 3, 4, 5, 6, 0 }; +array s8 _foo_indices( 0, 6 ) = { 0, 2, 3, 4, 5, 6, 0 }; array s8 _foo_index_defaults( 0, 1 ) = { 0, 1, 0 }; @@ -61,13 +61,13 @@ host( "working/cond4.rl", 27 ) @{ goto _out; label _resume { _keys = offset( _foo_trans_keys, (cs<<1) ); - _inds = offset( _foo_indicies, _foo_index_offsets[cs] ); + _inds = offset( _foo_indices, _foo_index_offsets[cs] ); if ( ( deref( data, p )) <= 70 && ( deref( data, p )) >= 0 ) { int _ic = cast(int)_foo_char_class[cast(int)( deref( data, p )) - 0]; if ( _ic <= cast(int)deref( _foo_trans_keys, _keys+1 ) && _ic >= cast(int)deref( _foo_trans_keys, _keys ) ) - _trans = cast(int)deref( _foo_indicies, _inds + cast(int)( _ic - cast(int)deref( _foo_trans_keys, _keys ) ) ); + _trans = cast(int)deref( _foo_indices, _inds + cast(int)( _ic - cast(int)deref( _foo_trans_keys, _keys ) ) ); else _trans = cast(int)_foo_index_defaults[cs]; } |