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: 3e6de6b7da8ee88bf84b0e217900051334be08da
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 60fba4d7d677ec098e6a43014132fe99f7547363
5
- refs/heads/try: 533587a8e61d97f36da9a57b4fe9151cdba7dd72
5
+ refs/heads/try: 0a89671754a07247be44a8b2b762772f9e3863b5
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