Skip to content

Commit e371ecc

Browse files
committed
---
yaml --- r: 79338 b: refs/heads/try c: 0a89671 h: refs/heads/master v: v3
1 parent 56a8ce7 commit e371ecc

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 3e6de6b7da8ee88bf84b0e217900051334be08da
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 60fba4d7d677ec098e6a43014132fe99f7547363
5-
refs/heads/try: 533587a8e61d97f36da9a57b4fe9151cdba7dd72
5+
refs/heads/try: 0a89671754a07247be44a8b2b762772f9e3863b5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libsyntax/parse/token.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,11 @@ pub fn gensym_ident(str : &str) -> ast::Ident {
546546
// create a fresh name that maps to the same string as the old one.
547547
pub fn fresh_name(src : &ast::Ident) -> Name {
548548
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))*/
549554
}
550555

551556
// create a fresh mark.

0 commit comments

Comments
 (0)