• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

A multilingual input method framework


Commit MetaInfo

Revisionc0c8c7f0c18093d31e8bda431725f883fb9aee13 (tree)
Time2006-12-27 12:06:06
Authoryamaken <yamaken@ff9a...>
Commiteryamaken

Log Message

* scm/uim-sh.scm

- (uim-sh-loop, uim-sh): Fix error handling

Change Summary

Incremental Difference

--- a/scm/uim-sh.scm
+++ b/scm/uim-sh.scm
@@ -47,15 +47,10 @@
4747 (eof (eof-object? expr)))
4848 (if (not eof)
4949 (begin
50- (guard (err
51- (else
52- (display err)
53- (%%backtrace)
54- #f))
55- ((if uim-sh-opt-strict-batch
56- (lambda (obj) #f)
57- print)
58- (eval expr (interaction-environment))))
50+ ((if uim-sh-opt-strict-batch
51+ (lambda () #f)
52+ print)
53+ (eval expr (interaction-environment)))
5954 (uim-sh-loop))
6055 #f))))
6156
@@ -96,11 +91,15 @@
9691 (if (and uim-editline-enabled
9792 (symbol-bound? 'uim-editline-readline))
9893 (activate-editline))
99-; (if (*catch
100-; 'all
101-; (uim-sh-loop))
102-; (uim-sh args))))))
103- (uim-sh-loop)))))
94+ (if (guard (err
95+ (else
96+ (display err)
97+ (newline)
98+ (if (>= (verbose) 2)
99+ (%%backtrace))
100+ #t))
101+ (uim-sh-loop))
102+ (uim-sh args))))))
104103
105104 (if (symbol-bound? 'uim-editline-readline)
106105 (begin