tests/snippets/yaml/test_yaml.txt
raw| 1 | # Bug #1528: This previously parsed 'token # innocent' as a tag |
| 2 | |
| 3 | ---input--- |
| 4 | here: token # innocent: comment |
| 5 | |
| 6 | ---tokens--- |
| 7 | 'here' Name.Tag |
| 8 | ':' Punctuation |
| 9 | ' ' Text.Whitespace |
| 10 | 'token' Literal.Scalar.Plain |
| 11 | ' ' Text.Whitespace |
| 12 | '# innocent: comment' Comment.Single |
| 13 | '\n' Text.Whitespace |