markused: always include slice_ni & substr_ni too (support s#[] and a#[] in -skip-unused)
parent
efdbe9d92c
commit
f8bf3db568
|
@ -63,6 +63,7 @@ pub fn mark_used(mut table ast.Table, pref &pref.Preferences, ast_files []&ast.F
|
||||||
'20.clone_static',
|
'20.clone_static',
|
||||||
'20.trim',
|
'20.trim',
|
||||||
'20.substr',
|
'20.substr',
|
||||||
|
'20.substr_ni',
|
||||||
'20.at',
|
'20.at',
|
||||||
'20.at_with_check',
|
'20.at_with_check',
|
||||||
'20.index_kmp',
|
'20.index_kmp',
|
||||||
|
@ -88,6 +89,7 @@ pub fn mark_used(mut table ast.Table, pref &pref.Preferences, ast_files []&ast.F
|
||||||
'22.reverse',
|
'22.reverse',
|
||||||
'22.repeat_to_depth',
|
'22.repeat_to_depth',
|
||||||
'22.slice',
|
'22.slice',
|
||||||
|
'22.slice_ni',
|
||||||
'22.slice2',
|
'22.slice2',
|
||||||
'61.get',
|
'61.get',
|
||||||
'61.set',
|
'61.set',
|
||||||
|
|
Loading…
Reference in New Issue