Thanks for confirming. I submitted a [PR](https://github.com/nim-lang/Nim/pull/22325) to fix the docs.
- Nim grammar top-level stmt vs complexOrSimpleStmt khaledh-nim
- Nim grammar top-level stmt vs complexOrSimpleStmt Araq
- Nim grammar top-level stmt vs complexOrSimpleStmt metagngn
- Nim grammar top-level stmt vs complexOrSimpleStmt khaledh-nim