diff options
author | Akira TAGOH <akira@tagoh.org> | 2006-03-29 17:42:46 +0000 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2006-03-29 17:42:46 +0000 |
commit | e0981bd8f5501f0ef48102b3d33b0c223beb8d32 (patch) | |
tree | 5fb50efd8b519eaccc16c324ea0dcd29011c0a6c /lib | |
parent | 07c84c384d2840c0f974f4cc3c3e368f14d195ef (diff) |
* lib/hg_init.ps (.printerror): show the details of dict.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hg_init.ps | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/lib/hg_init.ps b/lib/hg_init.ps index 041075d..ffba192 100644 --- a/lib/hg_init.ps +++ b/lib/hg_init.ps @@ -223,7 +223,28 @@ systemdict /.statementedit known { $error /dstack known { $error /dstack get dup length (Dictionary stack[) print =only (]:\n) print - {( ) print ==only} forall + { + ( ) print +% dup type /dicttype eq { + (--dict:) print + dup length ==only (/) print dup maxlength ==only + dup wcheck not { + ((ro)) print + } if +% /gcheck where { +% pop gcheck { +% ((G)) +% } { +% ((L)) +% } ifelse print +% } { + pop +% } ifelse (--) print + (--) print +% } { +% ==only +% } ifelse + } forall (\n) print } if % restore objects |