diff options
Diffstat (limited to 'test/rlhc.d/case/cond3.cpp-C-F0--goto-backend.in')
-rw-r--r-- | test/rlhc.d/case/cond3.cpp-C-F0--goto-backend.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rlhc.d/case/cond3.cpp-C-F0--goto-backend.in b/test/rlhc.d/case/cond3.cpp-C-F0--goto-backend.in index 4c59ed64..3d1b0ed8 100644 --- a/test/rlhc.d/case/cond3.cpp-C-F0--goto-backend.in +++ b/test/rlhc.d/case/cond3.cpp-C-F0--goto-backend.in @@ -18,7 +18,7 @@ array s8 _foo_char_class( 0, 0 ) = { 0, 0 }; array s8 _foo_index_offsets( 0, 1 ) = { 0, 0, 1, 0 }; -array s8 _foo_indicies( 0, 1 ) = { 1, 0 }; +array s8 _foo_indices( 0, 1 ) = { 1, 0 }; array s8 _foo_index_defaults( 0, 2 ) = { 0, 0, 2, 0 }; @@ -70,13 +70,13 @@ host( "working/cond3.rl", 22 ) @{ 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 )) <= 10 && ( deref( data, p )) >= 10 ) { int _ic = cast(int)_foo_char_class[cast(int)( deref( data, p )) - 10]; 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]; } |