doc: typo fixes and scanner token structure.