summaryrefslogtreecommitdiff
path: root/test/rlhc.d/case/scan4_ruby.rb-R-F1--var-backend.in
diff options
context:
space:
mode:
Diffstat (limited to 'test/rlhc.d/case/scan4_ruby.rb-R-F1--var-backend.in')
-rw-r--r--test/rlhc.d/case/scan4_ruby.rb-R-F1--var-backend.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rlhc.d/case/scan4_ruby.rb-R-F1--var-backend.in b/test/rlhc.d/case/scan4_ruby.rb-R-F1--var-backend.in
index a06aa9e9..906129b4 100644
--- a/test/rlhc.d/case/scan4_ruby.rb-R-F1--var-backend.in
+++ b/test/rlhc.d/case/scan4_ruby.rb-R-F1--var-backend.in
@@ -15,7 +15,7 @@ array s8 _scanner_char_class( 0, 2 ) = { 0, 1, 2, 0 };
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 };
@@ -101,13 +101,13 @@ host( "working/scan4_ruby.rl", 41 ) @{
}
_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];
}