Skip to content

Commit d724b0f

Browse files
committed
---
yaml --- r: 79374 b: refs/heads/try c: 458b123 h: refs/heads/master v: v3
1 parent 06217ab commit d724b0f

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-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: c11bfdefd04828e4aee6925a01e9491d7258acbf
5+
refs/heads/try: 458b1239154125d0985be5346587e7ce685c30cd
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libsyntax/ast_util.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -907,6 +907,15 @@ pub fn get_sctable() -> @mut SCTable {
907907
}
908908
}
909909
910+
/// print out an SCTable for debugging
911+
pub fn display_sctable(table : &SCTable) {
912+
error!("SC table:");
913+
for (idx,val) in table.table.iter().enumerate() {
914+
error!("%4u : %?",idx,val);
915+
}
916+
}
917+
918+
910919
/// Add a value to the end of a vec, return its index
911920
fn idx_push<T>(vec: &mut ~[T], val: T) -> uint {
912921
vec.push(val);

0 commit comments

Comments
 (0)