diff options
Diffstat (limited to 'test/rlhc.d/case/erract2_ruby.rb-R-F0--var-backend.in')
-rw-r--r-- | test/rlhc.d/case/erract2_ruby.rb-R-F0--var-backend.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rlhc.d/case/erract2_ruby.rb-R-F0--var-backend.in b/test/rlhc.d/case/erract2_ruby.rb-R-F0--var-backend.in index 8aa898df..2fc95734 100644 --- a/test/rlhc.d/case/erract2_ruby.rb-R-F0--var-backend.in +++ b/test/rlhc.d/case/erract2_ruby.rb-R-F0--var-backend.in @@ -19,7 +19,7 @@ array s8 _erract_char_class( 0, 5 ) = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 array s8 _erract_index_offsets( 0, 6 ) = { 0, 0, 1, 2, 3, 4, 5, 6, 0 }; -array s8 _erract_indicies( 0, 8 ) = { 1, 3, 4, 5, 6, 8, 0 }; +array s8 _erract_indices( 0, 8 ) = { 1, 3, 4, 5, 6, 8, 0 }; array s8 _erract_index_defaults( 0, 9 ) = { 0, 0, 2, 2, 2, 2, 7, 9, 0 }; @@ -131,13 +131,13 @@ host( "working/erract2_ruby.rl", 50 ) @{ if ( _cont == 1 ) { if ( _have == 0 ) { _keys = offset( _erract_trans_keys, (cs<<1) ); - _inds = offset( _erract_indicies, _erract_index_offsets[cs] ); + _inds = offset( _erract_indices, _erract_index_offsets[cs] ); if ( ( deref( data, p )) <= 111 && ( deref( data, p )) >= 10 ) { int _ic = cast(int)_erract_char_class[cast(int)( deref( data, p )) - 10]; if ( _ic <= cast(int)deref( _erract_trans_keys, _keys+1 ) && _ic >= cast(int)deref( _erract_trans_keys, _keys ) ) - _trans = cast(uint)deref( _erract_indicies, _inds + cast(int)( _ic - cast(int)deref( _erract_trans_keys, _keys ) ) ); + _trans = cast(uint)deref( _erract_indices, _inds + cast(int)( _ic - cast(int)deref( _erract_trans_keys, _keys ) ) ); else _trans = cast(uint)_erract_index_defaults[cs]; } |