File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
branches/try/src/libsyntax/parse Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: ba9fa89bfb4aae53db93e9ecac31807af96356fc
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 54ae2800ffb30513f89ce13d27ac3c8d095d98ac
5
- refs/heads/try: 7a9af098f0a01cf0d0f320def7c495d1fa859e62
5
+ refs/heads/try: 9071ac60b621020c08bc74cd15c363a7780a2230
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
Original file line number Diff line number Diff line change @@ -546,6 +546,11 @@ pub fn gensym_ident(str : &str) -> ast::Ident {
546
546
// create a fresh name that maps to the same string as the old one.
547
547
pub fn fresh_name ( src : & ast:: Ident ) -> Name {
548
548
gensym ( ident_to_str ( src) )
549
+ // following: debug version. Could work in final except that it's incompatible with
550
+ // good error messages and uses of struct names in ambiguous could-be-binding
551
+ // locations.
552
+ /*let num = rand::rng().gen_uint_range(0,0xffff);
553
+ gensym(fmt!("%s_%u",ident_to_str(src),num))*/
549
554
}
550
555
551
556
// create a fresh mark.
You can’t perform that action at this time.
0 commit comments