summaryrefslogtreecommitdiff
path: root/05/constants.b
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-01-13 23:20:45 -0500
committerpommicket <pommicket@gmail.com>2022-01-13 23:20:45 -0500
commit05cbc582997e2da9c291f093700b6e42438b135e (patch)
tree92c5bf87bee75a1aea61ecfc50445f2ca8cc24a8 /05/constants.b
parent251c25cbadde6162dcde7c6d23457325cc127b6e (diff)
binop parsing working
Diffstat (limited to '05/constants.b')
-rw-r--r--05/constants.b2
1 files changed, 1 insertions, 1 deletions
diff --git a/05/constants.b b/05/constants.b
index 24fd005..c97eb9f 100644
--- a/05/constants.b
+++ b/05/constants.b
@@ -133,7 +133,7 @@
; - for string literals, a 64-bit pointer to the string (for the executable, not for the compiler)
; - for unary operators, the operand
; - for binary operators, the first operand followed by the second
-; - for the operators . and ->, the first operand is an expression and the second is just a pointer to the name of the member
+; - for the operators . and ->, the first argument is a 64-bit pointer to the name of the member and the second is the left hand side of the . / ->
; - for the ternary operator ? :, the first followed by the second followed by the third
; - for function calls, the function, followed by each of the arguments to the function — info indicates the number of arguments
; Note that file/line number are not stored in expressions.