summaryrefslogtreecommitdiff
path: root/test/rlhc.d/case/scan2_java.java-J-F1--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/scan2_java.java-J-F1--var-backend.in
parent9b94ba9d95148826e03c321f2d1a586a5bc27be7 (diff)
downloadcolm-1a1662476e5717916619c3d0797678f68f5d29d3.tar.gz
[minor] fix spelling of "indices"
Diffstat (limited to 'test/rlhc.d/case/scan2_java.java-J-F1--var-backend.in')
-rw-r--r--test/rlhc.d/case/scan2_java.java-J-F1--var-backend.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rlhc.d/case/scan2_java.java-J-F1--var-backend.in b/test/rlhc.d/case/scan2_java.java-J-F1--var-backend.in
index e2524620..9d13714a 100644
--- a/test/rlhc.d/case/scan2_java.java-J-F1--var-backend.in
+++ b/test/rlhc.d/case/scan2_java.java-J-F1--var-backend.in
@@ -24,7 +24,7 @@ host( "working/scan2_java.rl", 1 ) @{/*
array s8 _scanner_index_offsets( 0, 5 ) = { 0, 3, 5, 0 };
- array s8 _scanner_indicies( 0, 5 ) = { 1, 1, 2, 4, 5, 1, 1, 2, 0 };
+ array s8 _scanner_indices( 0, 5 ) = { 1, 1, 2, 4, 5, 1, 1, 2, 0 };
array s8 _scanner_index_defaults( 0, 3 ) = { 0, 3, 0, 0 };
@@ -111,13 +111,13 @@ host( "working/scan2_java.rl", 1 ) @{/*
}
_keys = offset( _scanner_trans_keys, (cs<<1) );
- _inds = offset( _scanner_indicies, _scanner_index_offsets[cs] );
+ _inds = offset( _scanner_indices, _scanner_index_offsets[cs] );
if ( ( deref( data, p )) <= 99 && ( deref( data, p )) >= 97 )
{
int _ic = cast(int)_scanner_char_class[cast(int)( deref( data, p )) - 97];
if ( _ic <= cast(int)deref( _scanner_trans_keys, _keys+1 ) && _ic >= cast(int)deref( _scanner_trans_keys, _keys ) )
- _trans = cast(uint)deref( _scanner_indicies, _inds + cast(int)( _ic - cast(int)deref( _scanner_trans_keys, _keys ) ) );
+ _trans = cast(uint)deref( _scanner_indices, _inds + cast(int)( _ic - cast(int)deref( _scanner_trans_keys, _keys ) ) );
else
_trans = cast(uint)_scanner_index_defaults[cs];
}