Fixed it!

Whitespace has highest removal priority when scanning, so I had to
reorder the if statements in the scan_one() member function to reflect
this change.