summaryrefslogtreecommitdiff
path: root/src/token.cpp
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2013-04-23 13:15:06 -0600
committerMike Buland <mike@xagasoft.com>2013-04-23 13:15:06 -0600
commit4bd16214f0c6d2b4079b01d68b7e36ad408406d4 (patch)
tree1bed3875ee881a276701824ed823dcce27ccd73c /src/token.cpp
parent23affa8ed0b37ec0162177a716047260cc5b7cf1 (diff)
downloadclic-4bd16214f0c6d2b4079b01d68b7e36ad408406d4.tar.gz
clic-4bd16214f0c6d2b4079b01d68b7e36ad408406d4.tar.bz2
clic-4bd16214f0c6d2b4079b01d68b7e36ad408406d4.tar.xz
clic-4bd16214f0c6d2b4079b01d68b7e36ad408406d4.zip
Now supports modulus (strange for fractions).
Diffstat (limited to 'src/token.cpp')
-rw-r--r--src/token.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/token.cpp b/src/token.cpp
index 019e54d..5b0e6fe 100644
--- a/src/token.cpp
+++ b/src/token.cpp
@@ -59,6 +59,7 @@ Bu::Formatter &operator<<( Bu::Formatter &f, Token::Type eType )
59 case Token::tMinus: return f << "-"; 59 case Token::tMinus: return f << "-";
60 case Token::tDivide: return f << "/"; 60 case Token::tDivide: return f << "/";
61 case Token::tMultiply: return f << "*"; 61 case Token::tMultiply: return f << "*";
62 case Token::tModulus: return f << "%";
62 case Token::tOpenParen: return f << "("; 63 case Token::tOpenParen: return f << "(";
63 case Token::tCloseParen: return f << ")"; 64 case Token::tCloseParen: return f << ")";
64 case Token::tEquals: return f << "="; 65 case Token::tEquals: return f << "=";