diff --git a/_includes/cheatsheet-text-plaintext.md b/_includes/cheatsheet-text-plaintext.md index 93493ad..813d483 100644 --- a/_includes/cheatsheet-text-plaintext.md +++ b/_includes/cheatsheet-text-plaintext.md @@ -26,7 +26,8 @@ SignedInteger := int Embedded := `#!` Value Annotated := Annotation Value -Annotation := `@` Value | `;` «any unicode scalar except cr or lf»* (cr | lf) +Annotation := `@` Value | `#` ((space | tab) linecomment) (cr | lf) +linecomment := «any unicode scalar except cr or lf»* escaped := `\\` | `\/` | `\b` | `\f` | `\n` | `\r` | `\t` | `\u` hex hex hex hex binescaped := `\\` | `\/` | `\b` | `\f` | `\n` | `\r` | `\t` | `\x` hex hex diff --git a/_includes/cheatsheet-text.md b/_includes/cheatsheet-text.md index d995ab5..a2aeb8b 100644 --- a/_includes/cheatsheet-text.md +++ b/_includes/cheatsheet-text.md @@ -26,7 +26,8 @@ {:.postcard-grammar.textsyntax} | *Embedded* | := | `#!`*Value* | | *Annotated* | := | *Annotation* *Value* | -| *Annotation* | := | `@`*Value* |`;`« any unicode scalar value except **cr** or **lf** » (**cr** | **lf**) | +| *Annotation* | := | `@`*Value* |`#` ((**space** | **tab**) *linecomment*) (**cr** | **lf**) | +| *linecomment* | := | « any unicode scalar value except **cr** or **lf** » | {:.postcard-grammar.textsyntax} | *escaped* | := | `\\`|`\/`|`\b`|`\f`|`\n`|`\r`|`\t`|`\u`*hex* *hex* *hex* *hex* | diff --git a/implementations/rust/preserves/doc/cheatsheet-text-plaintext.md b/implementations/rust/preserves/doc/cheatsheet-text-plaintext.md index 93493ad..813d483 100644 --- a/implementations/rust/preserves/doc/cheatsheet-text-plaintext.md +++ b/implementations/rust/preserves/doc/cheatsheet-text-plaintext.md @@ -26,7 +26,8 @@ SignedInteger := int Embedded := `#!` Value Annotated := Annotation Value -Annotation := `@` Value | `;` «any unicode scalar except cr or lf»* (cr | lf) +Annotation := `@` Value | `#` ((space | tab) linecomment) (cr | lf) +linecomment := «any unicode scalar except cr or lf»* escaped := `\\` | `\/` | `\b` | `\f` | `\n` | `\r` | `\t` | `\u` hex hex hex hex binescaped := `\\` | `\/` | `\b` | `\f` | `\n` | `\r` | `\t` | `\x` hex hex