summaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2016-12-01 11:16:25 -0700
committerMike Buland <eichlan@xagasoft.com>2016-12-01 11:16:25 -0700
commit32b48aeb75db4ad40fe0173614e585f9bee72257 (patch)
tree36ec0bbb72ece290ba82906edf3ae6c50f2a0984 /src/parser.h
parentb96daa4e9849ac9caf5c0dfcea8daac28267ea19 (diff)
downloadclic-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/parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.h b/src/parser.h
index 1e0d1c4..60dd8e1 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -55,6 +55,7 @@ private:
55 void expr(); 55 void expr();
56 void exprP(); 56 void exprP();
57 void exprR(); 57 void exprR();
58 void statement();
58 59
59private: 60private:
60 void shift( const Token &t ); 61 void shift( const Token &t );