mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 18:21:16 -03:00
Replaced some usage of wchar_t * with wcstring in complete(). Some style fixes.
This commit is contained in:
@@ -326,9 +326,10 @@ static void test_tok()
|
||||
};
|
||||
|
||||
say(L"Test correct tokenization");
|
||||
|
||||
|
||||
tokenizer_t t(str, 0);
|
||||
for (size_t i=0; i < sizeof types / sizeof *types; i++, tok_next(&t)) {
|
||||
for (size_t i=0; i < sizeof types / sizeof *types; i++, tok_next(&t))
|
||||
{
|
||||
if (types[i] != tok_last_type(&t))
|
||||
{
|
||||
err(L"Tokenization error:");
|
||||
|
||||
Reference in New Issue
Block a user