Change m_nPrecNum from int to size_t and rename to m_precedenceOpCount (#33)

This commit is contained in:
Josh Koon
2019-02-21 16:36:54 -08:00
committed by GitHub
parent 1302d51afe
commit 5a530c4bed
3 changed files with 21 additions and 21 deletions

View File

@@ -112,7 +112,7 @@ private:
int m_openParenCount; // Number of open parentheses.
std::array<int, MAXPRECDEPTH> m_nOp; /* Holding array for parenthesis operations. */
std::array<int, MAXPRECDEPTH> m_nPrecOp; /* Holding array for precedence operations. */
int m_nPrecNum; /* Current number of precedence ops in holding. */
size_t m_precedenceOpCount; /* Current number of precedence ops in holding. */
int m_nLastCom; // Last command entered.
ANGLE_TYPE m_angletype; // Current Angle type when in dec mode. one of deg, rad or grad
NUM_WIDTH m_numwidth; // one of qword, dword, word or byte mode.