aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--language/statements/assignment.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/language/statements/assignment.rst b/language/statements/assignment.rst
index f8c1600..a87752e 100644
--- a/language/statements/assignment.rst
+++ b/language/statements/assignment.rst
@@ -4,12 +4,12 @@ Assignments
.. crowbar:element:: AssignmentStatement <- AssignmentBody ';'
AssignmentBody <- DirectAssignmentBody / UpdateAssignmentBody / CrementAssignmentBody
-.. crowbar:element:: DirectAssignmentBody <- AssignmentTarget '=' Expression
+.. crowbar:element:: DirectAssignmentBody <- Expression '=' Expression
.. todo:: define direct assignment
-.. crowbar:element:: UpdateAssignmentBody <- AssignmentTarget ('+=' / '-=' / '*=' / '/=' / '%=' / '&=' / '^=' / '|=') Expression
+.. crowbar:element:: UpdateAssignmentBody <- Expression ('+=' / '-=' / '*=' / '/=' / '%=' / '&=' / '^=' / '|=') Expression
-.. crowbar:element:: CrementAssignmentBody <- AssignmentTarget ('++' / '--')
+.. crowbar:element:: CrementAssignmentBody <- Expression ('++' / '--')
.. todo:: define other assignments relative to direct