diff options
author | Melody Horn <melody@boringcactus.com> | 2020-11-03 19:22:27 -0700 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2020-11-03 19:22:27 -0700 |
commit | cc2408e68a23414cf1af351aa43e7c1d50980445 (patch) | |
tree | 5d28e39de9fcd716d76a359313202106f849a893 /language | |
parent | 8acf4ec442a1837e848208e3c08078d86d4a4c11 (diff) | |
download | spec-cc2408e68a23414cf1af351aa43e7c1d50980445.tar.gz spec-cc2408e68a23414cf1af351aa43e7c1d50980445.zip |
don't need a separate thing for assignment target
Diffstat (limited to 'language')
-rw-r--r-- | language/statements/assignment.rst | 6 |
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 |