summaryrefslogtreecommitdiff
path: root/chapter31/docs/31-grammar.ja.md
diff options
context:
space:
mode:
Diffstat (limited to 'chapter31/docs/31-grammar.ja.md')
-rw-r--r--chapter31/docs/31-grammar.ja.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/chapter31/docs/31-grammar.ja.md b/chapter31/docs/31-grammar.ja.md
index f4635f21..eca363c1 100644
--- a/chapter31/docs/31-grammar.ja.md
+++ b/chapter31/docs/31-grammar.ja.md
@@ -47,7 +47,7 @@ constructorParameterList : (constructorParameter ','?)+ ;
constructorParameter : type '^'? bindingModifier? IDENTIFIER ;
// ^ accepts an unfinished struct reference; ? independently permits null.
// Only self may be read while incomplete; ^ arguments may be stored/forwarded.
-// A new result is incomplete iff an actual argument is. See construction-groups.md.
+// A new result is incomplete iff an actual argument is. See ../../chapter29/README.md#incomplete-types.
// A method is an ordinary fixed function binding in a struct definition.
// The compiler supplies self; it is not written in parameterList.
@@ -82,7 +82,7 @@ primitiveType
assignment : expression (assignmentOperator assignment)? ;
assignmentOperator
- : '=' | '+=' | '-=' | '*=' | '/=' | '&=' | '|=' | '^='
+ : '=' | '+=' | '-=' | '*=' | '/=' | '%=' | '&=' | '|=' | '^='
| '<<=' | '>>=' | '>>>='
;
@@ -113,7 +113,7 @@ additiveExpression
;
multiplicativeExpression
- : unaryExpression (('*' | '/') unaryExpression)*
+ : unaryExpression (('*' | '/' | '%') unaryExpression)*
;
unaryExpression