1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-17 09:22:42 +01:00

Codechange: add support for parsing octal numbers

This commit is contained in:
Rubidium
2025-05-03 07:47:15 +02:00
committed by rubidium42
parent c79abc6da6
commit 414f6a3067
3 changed files with 21 additions and 4 deletions

View File

@@ -186,6 +186,9 @@ void StringConsumer::SkipIntegerBase(int base)
default:
assert(false);
break;
case 8:
this->SkipUntilCharNotIn("01234567");
break;
case 10:
this->SkipUntilCharNotIn("0123456789");
break;