diff options
Diffstat (limited to 'test/rlhc.d/case/caseindep_ocaml.ml-O-F1--var-backend.in')
-rw-r--r-- | test/rlhc.d/case/caseindep_ocaml.ml-O-F1--var-backend.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rlhc.d/case/caseindep_ocaml.ml-O-F1--var-backend.in b/test/rlhc.d/case/caseindep_ocaml.ml-O-F1--var-backend.in index b6d4474f..69da1576 100644 --- a/test/rlhc.d/case/caseindep_ocaml.ml-O-F1--var-backend.in +++ b/test/rlhc.d/case/caseindep_ocaml.ml-O-F1--var-backend.in @@ -17,7 +17,7 @@ array s8 _indep_char_class( 0, 11 ) = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 array s8 _indep_index_offsets( 0, 33 ) = { 0, 0, 2, 3, 4, 5, 6, 7, 8, 13, 18, 23, 28, 33, 0 }; -array s8 _indep_indicies( 0, 12 ) = { 0, 2, 3, 4, 5, 6, 7, 8, 9, 1, 1, 1, 9, 10, 1, 1, 1, 10, 11, 1, 1, 1, 11, 12, 1, 1, 1, 12, 7, 1, 1, 1, 7, 0 }; +array s8 _indep_indices( 0, 12 ) = { 0, 2, 3, 4, 5, 6, 7, 8, 9, 1, 1, 1, 9, 10, 1, 1, 1, 10, 11, 1, 1, 1, 11, 12, 1, 1, 1, 12, 7, 1, 1, 1, 7, 0 }; array s8 _indep_index_defaults( 0, 1 ) = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 }; @@ -73,13 +73,13 @@ host( "working/caseindep_ocaml.rl", 33 ) @{ if ( _cont == 1 ) { if ( _have == 0 ) { _keys = offset( _indep_trans_keys, (cs<<1) ); - _inds = offset( _indep_indicies, _indep_index_offsets[cs] ); + _inds = offset( _indep_indices, _indep_index_offsets[cs] ); if ( ( deref( data, p )) <= 111 && ( deref( data, p )) >= 10 ) { int _ic = cast(int)_indep_char_class[cast(int)( deref( data, p )) - 10]; if ( _ic <= cast(int)deref( _indep_trans_keys, _keys+1 ) && _ic >= cast(int)deref( _indep_trans_keys, _keys ) ) - _trans = cast(uint)deref( _indep_indicies, _inds + cast(int)( _ic - cast(int)deref( _indep_trans_keys, _keys ) ) ); + _trans = cast(uint)deref( _indep_indices, _inds + cast(int)( _ic - cast(int)deref( _indep_trans_keys, _keys ) ) ); else _trans = cast(uint)_indep_index_defaults[cs]; } |