Fixed * and / operators to prioritize over + and -.
This commit is contained in:
1 parent
61216a2296
commit
a91d78f524
4 files changed
+36
-6
No files matched your search
@@ -10,8 +10,11 @@ namespace jet {
|
||||
class Operand {
|
||||
|
||||
public:
|
||||
Operand(coreutils::ZString &in, Tag &tag);
|
||||
Operand(coreutils::ZString &in, Tag &tag, bool stop = false);
|
||||
|
||||
coreutils::ZString ∈
|
||||
Tag &tag;
|
||||
|
||||
bool isNumber;
|
||||
|
||||
///
|
||||
@@ -23,6 +26,8 @@ namespace jet {
|
||||
coreutils::MString string = "";
|
||||
|
||||
double doubleValue;
|
||||
|
||||
int parseOperator();
|
||||
|
||||
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user