From 05cbc582997e2da9c291f093700b6e42438b135e Mon Sep 17 00:00:00 2001 From: pommicket Date: Thu, 13 Jan 2022 23:20:45 -0500 Subject: binop parsing working --- 05/constants.b | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '05/constants.b') 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. -- cgit v1.2.3