mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
print letter as well as tile in text dumps (same as cpp version)
This commit is contained in:
parent
3f4faae5b5
commit
36c6cd214b
1 changed files with 3 additions and 2 deletions
|
@ -252,9 +252,10 @@ sub printNode {
|
|||
|
||||
print STDERR "[$index] ";
|
||||
|
||||
my $letter = TrieNodeGetLetter($node);
|
||||
printf( STDERR
|
||||
"letter=%d; isTerminal=%d; isLastSib=%d; fco=%d;\n",
|
||||
TrieNodeGetLetter($node),
|
||||
"letter=%d(%s); isTerminal=%d; isLastSib=%d; fco=%d;\n",
|
||||
$letter, "" . $gRevMap[$letter],
|
||||
TrieNodeGetIsTerminal($node),
|
||||
TrieNodeGetIsLastSibling($node),
|
||||
TrieNodeGetFirstChildOffset($node));
|
||||
|
|
Loading…
Reference in a new issue