mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-02-14 01:00:27 -05:00
Fix various typos and spelling mistakes
This commit is contained in:
@@ -130,11 +130,11 @@ Lexer::Lexer(std::string expr_) : expr(std::move(expr_))
|
||||
it = expr.begin();
|
||||
}
|
||||
|
||||
Token Lexer::GetDelimitedToken(TokenType type, char delimeter)
|
||||
Token Lexer::GetDelimitedToken(TokenType type, char delimiter)
|
||||
{
|
||||
const std::string value = FetchCharsWhile([&](char c) { return c != delimeter && c != '\n'; });
|
||||
const std::string value = FetchCharsWhile([&](char c) { return c != delimiter && c != '\n'; });
|
||||
|
||||
if (it == expr.end() || *it != delimeter)
|
||||
if (it == expr.end() || *it != delimiter)
|
||||
return Token(TOK_INVALID);
|
||||
|
||||
++it;
|
||||
@@ -639,7 +639,8 @@ private:
|
||||
// right-hand child. Its intended use is for supporting old-style barewords expressions.
|
||||
// Note that if you have a keyboard device as default device and the expression is a single digit
|
||||
// number, this will usually resolve in a numerical key instead of a numerical value.
|
||||
// Though if this expression belongs to NumericSetting, it will likely be simplifed back to a value.
|
||||
// Though if this expression belongs to NumericSetting, it will likely be simplified back to a
|
||||
// value.
|
||||
class CoalesceExpression : public Expression
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user