New prefix operators ++ and --

This commit is contained in:
2025-01-04 18:12:38 +01:00
parent 6b3351b324
commit 0f848071c2
5 changed files with 101 additions and 10 deletions
+2
View File
@@ -103,6 +103,8 @@ func init() {
SymCaretEqual: {"^=", symClassOperator, posInfix}, // 66: '^='
SymPlusGreater: {"+>", symClassOperator, posInfix}, // 67: '+>'
SymLessPlus: {"<+", symClassOperator, posInfix}, // 68: '<+'
SymPreInc: {"++", symClassOperator, posPrefix}, // : '++'
SymPreDec: {"--", symClassOperator, posPrefix}, // : '--'
// SymChangeSign
// SymUnchangeSign
// SymIdentifier