mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00:00
ExpressionParser: Convert parse state enum into an enum class
This commit is contained in:
parent
e375c96693
commit
d104e5e916
5 changed files with 47 additions and 49 deletions
|
@ -59,14 +59,13 @@ public:
|
|||
ExpressionNode* node;
|
||||
};
|
||||
|
||||
enum ExpressionParseStatus
|
||||
enum class ParseStatus
|
||||
{
|
||||
EXPRESSION_PARSE_SUCCESS = 0,
|
||||
EXPRESSION_PARSE_SYNTAX_ERROR,
|
||||
EXPRESSION_PARSE_NO_DEVICE,
|
||||
Success,
|
||||
SyntaxError,
|
||||
NoDevice,
|
||||
};
|
||||
|
||||
ExpressionParseStatus ParseExpression(const std::string& expr, ControlFinder& finder,
|
||||
Expression** expr_out);
|
||||
ParseStatus ParseExpression(const std::string& expr, ControlFinder& finder, Expression** expr_out);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue