graydon/rust — Issue #1282: Pretty-print in place
Author: graydon
Created: 2011-12-10 00:07:22+00:00
State: open
Labels: driver, easy, pretty

The pp currently prints to stdout. We should support a mode wherein it does an in-memory pp, compares with the input, and writes back to the input file if there was a change. This is done by hand in our makefile now but if we want our users to use the pp we should make it as easy as possible to invoke.

This is mostly a driver bug and should be quite easy to knock out.