Ocamlでコンパイラを書いています。make
たとえば、ターミナルでコンパイルしてテストすると、トラックバックはうまく機能します。
export OCAMLRUNPARAM=b
./Simpler-Basic test.sib
Fatal error: exception Match_failure("interp.ml", 45, 21)
Called from file "interp.ml", line 97, characters 72-86
Called from file "list.ml", line 74, characters 24-34
Called from file "interp.ml", line 108, characters 9-35
Called from file "main.ml", line 54, characters 4-17
make: *** [all] Error 2
しかし、Emacs で をコンパイルしてテストすると、バッファにトレースバック部分が表示Meta-x compile
されmake
ません。
make
export OCAMLRUNPARAM=b
./Simpler-Basic test.sib
Fatal error: exception Match_failure("interp.ml", 45, 21)
make: *** [all] Error 2
Compilation exited abnormally with code 2 at Sat Jun 18 19:03:04
.emacs
友人からコピーした to do トレースバックの一部があります: http://paste.ubuntu.com/628838/
.emacs
端末のようにトレースバックを表示するように私の修正方法を教えてもらえますか? どうもありがとうございました