diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-18 08:09:06 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-18 08:09:06 +0000 |
| commit | 30fced09675acfd2b9ab6db6be8359a70d3f0402 (patch) | |
| tree | 88dc4587cb71d9dc9bdd9a57c4e2de8a98d7f06e /include | |
| parent | 345e3d419eafb0e234aecb4a33f37efe2afbbf53 (diff) | |
feat(operators): allow member assignment operator overloads
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/cps/Operator.h | 1 |
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 "="; |
