mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-27 03:28:40 +08:00

This is the simple fix - if we have no valid digit, we have nothing to return. So instead of returning a NULL, we return an error. This is already the case for invalid octal escapes (like `\777`). Fixes #8545