- Reverted generation of syntax files from .g files, since the clunky dparser generation of header files is causing too much trouble.

- Fixed compilation of rewrite tool.