Skip to content

Commit 7a38624

Browse files
committed
---
yaml --- r: 79726 b: refs/heads/try c: 9071ac6 h: refs/heads/master v: v3
1 parent 47a9317 commit 7a38624

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: ba9fa89bfb4aae53db93e9ecac31807af96356fc
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 54ae2800ffb30513f89ce13d27ac3c8d095d98ac
5-
refs/heads/try: 7a9af098f0a01cf0d0f320def7c495d1fa859e62
5+
refs/heads/try: 9071ac60b621020c08bc74cd15c363a7780a2230
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)