diff options
author | Hal Canary <halcanary@google.com> | 2019-11-12 10:47:53 -0500 |
---|---|---|
committer | Hal Canary <halcanary@google.com> | 2019-11-12 10:47:53 -0500 |
commit | 1a1662476e5717916619c3d0797678f68f5d29d3 (patch) | |
tree | 3e0e14ff9e35fd1bc2beb70938553383ba4e4ad2 /test/rlhc.d/case/rangei_cs.cs-A-F0--goto-backend.in | |
parent | 9b94ba9d95148826e03c321f2d1a586a5bc27be7 (diff) | |
download | colm-1a1662476e5717916619c3d0797678f68f5d29d3.tar.gz |
[minor] fix spelling of "indices"
Diffstat (limited to 'test/rlhc.d/case/rangei_cs.cs-A-F0--goto-backend.in')
-rw-r--r-- | test/rlhc.d/case/rangei_cs.cs-A-F0--goto-backend.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rlhc.d/case/rangei_cs.cs-A-F0--goto-backend.in b/test/rlhc.d/case/rangei_cs.cs-A-F0--goto-backend.in index 5dc94354..7108d31a 100644 --- a/test/rlhc.d/case/rangei_cs.cs-A-F0--goto-backend.in +++ b/test/rlhc.d/case/rangei_cs.cs-A-F0--goto-backend.in @@ -21,7 +21,7 @@ host( "working/rangei_cs.rl", 1 ) @{/* array s8 _rangei_index_offsets( 0, 23 ) = { 0, 0, 2, 4, 8, 13, 17, 23, 0 }; - array s8 _rangei_indicies( 0, 6 ) = { 0, 0, 2, 2, 3, 3, 3, 3, 4, 4, 1, 4, 4, 5, 1, 5, 5, 6, 6, 6, 6, 6, 6, 0 }; + array s8 _rangei_indices( 0, 6 ) = { 0, 0, 2, 2, 3, 3, 3, 3, 4, 4, 1, 4, 4, 5, 1, 5, 5, 6, 6, 6, 6, 6, 6, 0 }; array s8 _rangei_index_defaults( 0, 1 ) = { 0, 1, 1, 1, 1, 1, 1, 1, 0 }; @@ -78,13 +78,13 @@ host( "working/rangei_cs.rl", 1 ) @{/* goto _out; label _resume { _keys = offset( _rangei_trans_keys, (cs<<1) ); - _inds = offset( _rangei_indicies, _rangei_index_offsets[cs] ); + _inds = offset( _rangei_indices, _rangei_index_offsets[cs] ); if ( ( deref( data, p )) <= 125 && ( deref( data, p )) >= 60 ) { int _ic = cast(int)_rangei_char_class[cast(int)( deref( data, p )) - 60]; if ( _ic <= cast(int)deref( _rangei_trans_keys, _keys+1 ) && _ic >= cast(int)deref( _rangei_trans_keys, _keys ) ) - _trans = cast(int)deref( _rangei_indicies, _inds + cast(int)( _ic - cast(int)deref( _rangei_trans_keys, _keys ) ) ); + _trans = cast(int)deref( _rangei_indices, _inds + cast(int)( _ic - cast(int)deref( _rangei_trans_keys, _keys ) ) ); else _trans = cast(int)_rangei_index_defaults[cs]; } |