diff options
Diffstat (limited to 'test/rlhc.d/case/curs1_ocaml.ml-O-F1--var-backend.in')
-rw-r--r-- | test/rlhc.d/case/curs1_ocaml.ml-O-F1--var-backend.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rlhc.d/case/curs1_ocaml.ml-O-F1--var-backend.in b/test/rlhc.d/case/curs1_ocaml.ml-O-F1--var-backend.in index 694bdbc3..90dc4580 100644 --- a/test/rlhc.d/case/curs1_ocaml.ml-O-F1--var-backend.in +++ b/test/rlhc.d/case/curs1_ocaml.ml-O-F1--var-backend.in @@ -17,7 +17,7 @@ array s8 _curs1_char_class( 0, 11 ) = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 array s8 _curs1_index_offsets( 0, 16 ) = { 0, 0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 16, 16, 16, 0 }; -array s8 _curs1_indicies( 0, 15 ) = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0 }; +array s8 _curs1_indices( 0, 15 ) = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0 }; array s8 _curs1_index_defaults( 0, 1 ) = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 }; @@ -77,13 +77,13 @@ host( "working/curs1_ocaml.rl", 41 ) @{ if ( _cont == 1 ) { if ( _have == 0 ) { _keys = offset( _curs1_trans_keys, (cs<<1) ); - _inds = offset( _curs1_indicies, _curs1_index_offsets[cs] ); + _inds = offset( _curs1_indices, _curs1_index_offsets[cs] ); if ( ( deref( data, p )) <= 119 && ( deref( data, p )) >= 10 ) { int _ic = cast(int)_curs1_char_class[cast(int)( deref( data, p )) - 10]; if ( _ic <= cast(int)deref( _curs1_trans_keys, _keys+1 ) && _ic >= cast(int)deref( _curs1_trans_keys, _keys ) ) - _trans = cast(uint)deref( _curs1_indicies, _inds + cast(int)( _ic - cast(int)deref( _curs1_trans_keys, _keys ) ) ); + _trans = cast(uint)deref( _curs1_indices, _inds + cast(int)( _ic - cast(int)deref( _curs1_trans_keys, _keys ) ) ); else _trans = cast(uint)_curs1_index_defaults[cs]; } |