Remove YY_*_NOCODE

Use YY_*_PURE instead.
Remove support for nonstandard c_plusplus
Replace endl with std::endl
Remove MSDOS hacks

Prefer the fread() implementation over read() since it doesn't require
including <unistd.h>.
Remove YY_@_LEX_PARAM_DEF for old-style declarations
Regenerate scan.c