mirror of
https://github.com/gbdev/rgbds.git
synced 2026-07-02 14:08:04 +00:00
Rename BaseV to ValidBaseV
This commit is contained in:
+2
-2
@@ -529,7 +529,7 @@ static void shiftChar();
|
||||
static int bumpChar();
|
||||
static int nextChar();
|
||||
template<uint32_t Base>
|
||||
requires BaseV<Base>
|
||||
requires ValidBaseV<Base>
|
||||
static uint32_t readNumber(int initial, char const *prefix);
|
||||
|
||||
static uint32_t readBracketedMacroArgNum() {
|
||||
@@ -1075,7 +1075,7 @@ void lexer_SetGfxDigits(char const digits[4]) {
|
||||
}
|
||||
|
||||
template<uint32_t Base>
|
||||
requires BaseV<Base>
|
||||
requires ValidBaseV<Base>
|
||||
static uint32_t readNumber(int initial, char const *prefix) {
|
||||
auto isSomeDigit = [](int c) {
|
||||
if constexpr (Base == 2) {
|
||||
|
||||
+1
-1
@@ -96,7 +96,7 @@ static std::string readKeyword(int initial) {
|
||||
}
|
||||
|
||||
template<uint32_t Base>
|
||||
requires BaseV<Base>
|
||||
requires ValidBaseV<Base>
|
||||
static yy::parser::symbol_type readNumber(int initial, char const *prefix, char const *name) {
|
||||
LexerStackEntry &context = lexerStack.back();
|
||||
uint32_t number;
|
||||
|
||||
Reference in New Issue
Block a user