From 30fced09675acfd2b9ab6db6be8359a70d3f0402 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Sun, 18 Oct 2026 08:09:06 +0000 Subject: feat(operators): allow member assignment operator overloads Co-Authored-By: Claude Opus 5.5 --- include/cps/Operator.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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(Op)); + case tok_assign: return "<-"; case tok_div: return "DIV"; case tok_mod: return "MOD"; case tok_eq: return "="; -- cgit v1.3.1-4-g156e