]> git.lizzy.rs Git - rust.git/commit
rustc: implement a pretty mode to print ident/name's ctxt & gensyms.
authorHuon Wilson <dbau.pp+github@gmail.com>
Mon, 11 Aug 2014 12:01:37 +0000 (22:01 +1000)
committerHuon Wilson <dbau.pp+github@gmail.com>
Sat, 30 Aug 2014 06:50:38 +0000 (16:50 +1000)
commit32e437161da5e60c660b86da9003b7f73ebb5676
tree6de8bed0e2c88adc2f12927bebe94a3d4f395a06
parentddc8cc92c998b7d80c782d00d178c791ab564915
rustc: implement a pretty mode to print ident/name's ctxt & gensyms.

`--pretty expanded,hygiene` is helpful with debugging macro issues,
since two identifiers/names can be textually the same, but different
internally (resulting in weird "undefined variable" errors).
src/librustc/driver/pretty.rs
src/librustc/middle/dataflow.rs
src/libsyntax/print/pprust.rs
src/test/run-make/pretty-expanded-hygiene/Makefile [new file with mode: 0644]
src/test/run-make/pretty-expanded-hygiene/input.pp.rs [new file with mode: 0755]
src/test/run-make/pretty-expanded-hygiene/input.rs [new file with mode: 0755]