mirror of
https://github.com/yaml/pyyaml.git
synced 2026-02-07 02:09:58 +00:00
Could, as well as should, shall, must, may, can, might, etc. are auxiliary words. After an auxiliary word should come an infinitive verb.
6 lines
215 B
Text
6 lines
215 B
Text
test:
|
|
- [ foo: bar
|
|
# comment the rest of the stream to let the scanner detect the problem.
|
|
# - baz
|
|
#"we could have detected the unclosed bracket on the above line, but this would forbid such syntax as": {
|
|
#}
|