mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-06 12:40:24 +00:00
ExpressionParser: Make all control paths return a value in operator std::string
This commit is contained in:
parent
38d05cd70f
commit
88c9c6d086
@ -63,8 +63,6 @@ public:
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
case TOK_INVALID:
|
||||
return "Invalid";
|
||||
case TOK_DISCARD:
|
||||
return "Discard";
|
||||
case TOK_EOF:
|
||||
@ -83,7 +81,11 @@ public:
|
||||
return "+";
|
||||
case TOK_CONTROL:
|
||||
return "Device(" + (std::string)qualifier + ")";
|
||||
case TOK_INVALID:
|
||||
break;
|
||||
}
|
||||
|
||||
return "Invalid";
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user