diff options
Diffstat (limited to 'test/rlhc.d/case/atoi1_go.go-Z-F1--var-backend.in')
-rw-r--r-- | test/rlhc.d/case/atoi1_go.go-Z-F1--var-backend.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rlhc.d/case/atoi1_go.go-Z-F1--var-backend.in b/test/rlhc.d/case/atoi1_go.go-Z-F1--var-backend.in index 160dea23..68457720 100644 --- a/test/rlhc.d/case/atoi1_go.go-Z-F1--var-backend.in +++ b/test/rlhc.d/case/atoi1_go.go-Z-F1--var-backend.in @@ -23,7 +23,7 @@ array s8 _atoi_char_class( 0, 4 ) = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, array s8 _atoi_index_offsets( 0, 9 ) = { 0, 0, 3, 4, 9, 0 }; -array s8 _atoi_indicies( 0, 5 ) = { 0, 2, 3, 4, 5, 1, 1, 1, 4, 0 }; +array s8 _atoi_indices( 0, 5 ) = { 0, 2, 3, 4, 5, 1, 1, 1, 4, 0 }; array s8 _atoi_index_defaults( 0, 1 ) = { 0, 1, 1, 1, 1, 0 }; @@ -81,13 +81,13 @@ host( "working/atoi1_go.rl", 46 ) @{ if ( _cont == 1 ) { if ( _have == 0 ) { _keys = offset( _atoi_trans_keys, (cs<<1) ); - _inds = offset( _atoi_indicies, _atoi_index_offsets[cs] ); + _inds = offset( _atoi_indices, _atoi_index_offsets[cs] ); if ( ( deref( data, p )) <= 57 && ( deref( data, p )) >= 10 ) { int _ic = cast(int)_atoi_char_class[cast(int)( deref( data, p )) - 10]; if ( _ic <= cast(int)deref( _atoi_trans_keys, _keys+1 ) && _ic >= cast(int)deref( _atoi_trans_keys, _keys ) ) - _trans = cast(uint)deref( _atoi_indicies, _inds + cast(int)( _ic - cast(int)deref( _atoi_trans_keys, _keys ) ) ); + _trans = cast(uint)deref( _atoi_indices, _inds + cast(int)( _ic - cast(int)deref( _atoi_trans_keys, _keys ) ) ); else _trans = cast(uint)_atoi_index_defaults[cs]; } |