diff options
author | Mike Buland <eichlan@xagasoft.com> | 2016-12-01 09:31:45 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2016-12-01 09:31:45 -0700 |
commit | 3015ea4677201060777435cf76815e898d221f8c (patch) | |
tree | 8415fcef57ed5456ec03b2ea115ebd3789fd8c10 /src/token.h | |
parent | 5b8df4e1ab3faffe5c010222ff3f8ce3a4ff810c (diff) | |
download | clic-3015ea4677201060777435cf76815e898d221f8c.tar.gz clic-3015ea4677201060777435cf76815e898d221f8c.tar.bz2 clic-3015ea4677201060777435cf76815e898d221f8c.tar.xz clic-3015ea4677201060777435cf76815e898d221f8c.zip |
The parser works.
There's still more to do, however. It doesn't do math anymore, it produces
a script that can then be executed. Now we have to capture that script and
execute it.
Diffstat (limited to '')
-rw-r--r-- | src/token.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/token.h b/src/token.h index 8d7dc20..072a96b 100644 --- a/src/token.h +++ b/src/token.h | |||
@@ -31,7 +31,8 @@ public: | |||
31 | 31 | ||
32 | tEndOfInput, | 32 | tEndOfInput, |
33 | 33 | ||
34 | tUninitialized | 34 | tUninitialized, |
35 | tComputedValue | ||
35 | }; | 36 | }; |
36 | 37 | ||
37 | Token(); | 38 | Token(); |
@@ -52,5 +53,6 @@ public: | |||
52 | }; | 53 | }; |
53 | 54 | ||
54 | Bu::Formatter &operator<<( Bu::Formatter &f, Token::Type eType ); | 55 | Bu::Formatter &operator<<( Bu::Formatter &f, Token::Type eType ); |
56 | Bu::Formatter &operator<<( Bu::Formatter &f, const Token &t ); | ||
55 | 57 | ||
56 | #endif | 58 | #endif |