mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
Moved scalar scanning-related parameters to a struct.
Renamed the valid/possible tokens to a single variable status with enums valid, invalid, and unverified.
This commit is contained in:
parent
ff99f85a6d
commit
5f8252ee6f
10 changed files with 104 additions and 50 deletions
15
regex.cpp
15
regex.cpp
|
@ -45,6 +45,21 @@ namespace YAML
|
|||
delete m_pOp;
|
||||
}
|
||||
|
||||
RegEx& RegEx::operator = (const RegEx& rhs)
|
||||
{
|
||||
delete m_pOp;
|
||||
m_pOp = 0;
|
||||
|
||||
m_op = rhs.m_op;
|
||||
m_a = rhs.m_a;
|
||||
m_z = rhs.m_z;
|
||||
m_params = rhs.m_params;
|
||||
|
||||
SetOp();
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
void RegEx::SetOp()
|
||||
{
|
||||
delete m_pOp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue