aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/cps/Operator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cps/Operator.h b/include/cps/Operator.h
index 304793e..acf5483 100644
--- a/include/cps/Operator.h
+++ b/include/cps/Operator.h
@@ -8,6 +8,7 @@ inline std::string operatorSpelling(int Op) {
switch (Op) {
case '+': case '-': case '*': case '/': case '&': case '<': case '>':
return std::string(1, static_cast<char>(Op));
+ case tok_assign: return "<-";
case tok_div: return "DIV";
case tok_mod: return "MOD";
case tok_eq: return "=";