We report a tokenizer error on some invalid escape sequences
$ echo \777
fish: Invalid token '\777'
echo \777
^
but on others we silently interpret them as NUL bytes, which breaks many of our internal assumptions.
The fixes to #8195 fixed resulting issues in autoloading.
We should report a tokenizer error and maybe revert the fixes.
We report a tokenizer error on some invalid escape sequences
but on others we silently interpret them as NUL bytes, which breaks many of our internal assumptions.
The fixes to #8195 fixed resulting issues in autoloading.
We should report a tokenizer error and maybe revert the fixes.