diff --git a/docs/syntax.md b/docs/syntax.md index be3a5d5ad1..3ad2f1dd18 100644 --- a/docs/syntax.md +++ b/docs/syntax.md @@ -159,9 +159,9 @@ feature is intended for fine-grain control in SPIR-V testing), the assembler generally has no idea what that value stands for. So how does it know there is exactly one `` and three number literals following in that instruction, before the next one begins? And if `LocalSize` is replaced by an arbitrary -`!`, how does it know to take the next three tokens (instead of zero or +`!`, how does it know to take the next three tokens instead of zero or one, both of which are possible in the absence of certainty that `LocalSize` -provided)? The answer is a simple rule governing the parsing of instructions +provided? The answer is a simple rule governing the parsing of instructions with `!` in them: When a token in the assembly program is a `!`, that integer value is