summaryrefslogtreecommitdiff
path: root/test/rlhc.d/case/erract7.c-C-F0--var-backend.in
diff options
context:
space:
mode:
authorHal Canary <halcanary@google.com>2019-11-12 10:47:53 -0500
committerHal Canary <halcanary@google.com>2019-11-12 10:47:53 -0500
commit1a1662476e5717916619c3d0797678f68f5d29d3 (patch)
tree3e0e14ff9e35fd1bc2beb70938553383ba4e4ad2 /test/rlhc.d/case/erract7.c-C-F0--var-backend.in
parent9b94ba9d95148826e03c321f2d1a586a5bc27be7 (diff)
downloadcolm-1a1662476e5717916619c3d0797678f68f5d29d3.tar.gz
[minor] fix spelling of "indices"
Diffstat (limited to 'test/rlhc.d/case/erract7.c-C-F0--var-backend.in')
-rw-r--r--test/rlhc.d/case/erract7.c-C-F0--var-backend.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rlhc.d/case/erract7.c-C-F0--var-backend.in b/test/rlhc.d/case/erract7.c-C-F0--var-backend.in
index e0a7ddc3..2ad081db 100644
--- a/test/rlhc.d/case/erract7.c-C-F0--var-backend.in
+++ b/test/rlhc.d/case/erract7.c-C-F0--var-backend.in
@@ -16,7 +16,7 @@ array s8 _foo_char_class( 0, 3 ) = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1
array s8 _foo_index_offsets( 0, 5 ) = { 0, 0, 1, 2, 3, 4, 5, 0 };
-array s8 _foo_indicies( 0, 5 ) = { 1, 2, 3, 4, 5, 0 };
+array s8 _foo_indices( 0, 5 ) = { 1, 2, 3, 4, 5, 0 };
array s8 _foo_index_defaults( 0, 0 ) = { 0, 0, 0, 0, 0, 0, 0, 0 };
@@ -96,13 +96,13 @@ host( "working/erract7.rl", 19 ) @{
if ( _cont == 1 ) {
if ( _have == 0 ) {
_keys = offset( _foo_trans_keys, (cs<<1) );
- _inds = offset( _foo_indicies, _foo_index_offsets[cs] );
+ _inds = offset( _foo_indices, _foo_index_offsets[cs] );
if ( ( deref( data, p )) <= 104 && ( deref( data, p )) >= 88 )
{
int _ic = cast(int)_foo_char_class[cast(int)( deref( data, p )) - 88];
if ( _ic <= cast(int)deref( _foo_trans_keys, _keys+1 ) && _ic >= cast(int)deref( _foo_trans_keys, _keys ) )
- _trans = cast(uint)deref( _foo_indicies, _inds + cast(int)( _ic - cast(int)deref( _foo_trans_keys, _keys ) ) );
+ _trans = cast(uint)deref( _foo_indices, _inds + cast(int)( _ic - cast(int)deref( _foo_trans_keys, _keys ) ) );
else
_trans = cast(uint)_foo_index_defaults[cs];
}