mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26: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] ";
|
print STDERR "[$index] ";
|
||||||
|
|
||||||
|
my $letter = TrieNodeGetLetter($node);
|
||||||
printf( STDERR
|
printf( STDERR
|
||||||
"letter=%d; isTerminal=%d; isLastSib=%d; fco=%d;\n",
|
"letter=%d(%s); isTerminal=%d; isLastSib=%d; fco=%d;\n",
|
||||||
TrieNodeGetLetter($node),
|
$letter, "" . $gRevMap[$letter],
|
||||||
TrieNodeGetIsTerminal($node),
|
TrieNodeGetIsTerminal($node),
|
||||||
TrieNodeGetIsLastSibling($node),
|
TrieNodeGetIsLastSibling($node),
|
||||||
TrieNodeGetFirstChildOffset($node));
|
TrieNodeGetFirstChildOffset($node));
|
||||||
|
|
Loading…
Reference in a new issue