diff options
author | Mike Buland <eichlan@xagasoft.com> | 2016-12-01 11:16:25 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2016-12-01 11:16:25 -0700 |
commit | 32b48aeb75db4ad40fe0173614e585f9bee72257 (patch) | |
tree | 36ec0bbb72ece290ba82906edf3ae6c50f2a0984 /src/token.h | |
parent | b96daa4e9849ac9caf5c0dfcea8daac28267ea19 (diff) | |
download | clic-32b48aeb75db4ad40fe0173614e585f9bee72257.tar.gz clic-32b48aeb75db4ad40fe0173614e585f9bee72257.tar.bz2 clic-32b48aeb75db4ad40fe0173614e585f9bee72257.tar.xz clic-32b48aeb75db4ad40fe0173614e585f9bee72257.zip |
Found a big problem with order of operations.
I believe this is because I'm using right tail recursion, but I'm not really
sure how I could change it for this program.
order of operations is being observed perfectly, but then operations are being
performed from right to left, not left to right. I think I may be reducing
too frequently, honestly.
Diffstat (limited to '')
-rw-r--r-- | src/token.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/token.h b/src/token.h index 4ad1136..5bede41 100644 --- a/src/token.h +++ b/src/token.h | |||
@@ -40,7 +40,6 @@ public: | |||
40 | mMetaOperator = 0x4000, | 40 | mMetaOperator = 0x4000, |
41 | mMetaAltOp = 0x8000, | 41 | mMetaAltOp = 0x8000, |
42 | mMetaMeta = 0x0100, | 42 | mMetaMeta = 0x0100, |
43 | |||
44 | }; | 43 | }; |
45 | 44 | ||
46 | Token(); | 45 | Token(); |