From 3015ea4677201060777435cf76815e898d221f8c Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 1 Dec 2016 09:31:45 -0700 Subject: 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. --- src/token.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/token.h') 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: tEndOfInput, - tUninitialized + tUninitialized, + tComputedValue }; Token(); @@ -52,5 +53,6 @@ public: }; Bu::Formatter &operator<<( Bu::Formatter &f, Token::Type eType ); +Bu::Formatter &operator<<( Bu::Formatter &f, const Token &t ); #endif -- cgit v1.2.3