diff options
author | Mike Buland <eichlan@xagasoft.com> | 2016-11-30 14:52:39 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2016-11-30 14:52:39 -0700 |
commit | 2297488eae424197dce4ed6b1dc50ae67c093074 (patch) | |
tree | c28956f193f9ee8bdde083f780984736d48a5e41 /src/token.h | |
parent | 0321e6e39b8cf24718cf853c28f0f35443753264 (diff) | |
download | clic-2297488eae424197dce4ed6b1dc50ae67c093074.tar.gz clic-2297488eae424197dce4ed6b1dc50ae67c093074.tar.bz2 clic-2297488eae424197dce4ed6b1dc50ae67c093074.tar.xz clic-2297488eae424197dce4ed6b1dc50ae67c093074.zip |
I managed to confuse myself pretty well.
I'm doing some reading up on LR(n) parsers, I just sort of started without
thinking about it this time, not a great approach. I feel like it can't hurt
to have an update on how this works anyway. I think the idea was solid, but
I was trying to do too much at once.
One question is what my goal should be for this. I could just solve the
equation as we go, or I could generate code that will let us solve the equation.
The later is obviously attractive in that it will let us run an expression
more than once, and maybe even define functions. I like that.
Diffstat (limited to '')
-rw-r--r-- | src/token.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/token.h b/src/token.h index 12a4904..8d7dc20 100644 --- a/src/token.h +++ b/src/token.h | |||
@@ -41,6 +41,8 @@ public: | |||
41 | Token( const Token &rSrc ); | 41 | Token( const Token &rSrc ); |
42 | ~Token(); | 42 | ~Token(); |
43 | 43 | ||
44 | Token &operator=( const Token &rhs ); | ||
45 | |||
44 | Type eType; | 46 | Type eType; |
45 | union | 47 | union |
46 | { | 48 | { |