Skip to content

Commit 7e6a866

Browse files
authored
Fix ABNF in RFC 2873
`nostack` is specified further on in the RFC.
1 parent 1aa4590 commit 7e6a866

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/2873-inline-asm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ reg_spec := <register class> / "<explicit register>"
385385
operand_expr := expr / "_" / expr "=>" expr / expr "=>" "_"
386386
reg_operand := dir_spec "(" reg_spec ")" operand_expr
387387
operand := reg_operand / "const" const_expr / "sym" path
388-
option := "pure" / "nomem" / "readonly" / "preserves_flags" / "noreturn" / "att_syntax"
388+
option := "pure" / "nomem" / "readonly" / "preserves_flags" / "noreturn" / "nostack" / "att_syntax"
389389
options := "options(" option *["," option] [","] ")"
390390
asm := "asm!(" format_string *("," format_string) *("," [ident "="] operand) ["," options] [","] ")"
391391
```

0 commit comments

Comments
 (0)