nitg: merge `-no-stacktrace` and `-nit-stacktrace` into a single `--stacktrace`
authorJean Privat <jean@pryen.org>
Fri, 4 Apr 2014 20:04:12 +0000 (16:04 -0400)
committerJean Privat <jean@pryen.org>
Fri, 4 Apr 2014 20:04:12 +0000 (16:04 -0400)
commit1a6ed671e131fe356c80d95c88aa804f81532a01
tree96a3b1247c069fbe26d694c0485823755a72980f
parent350435d4282cd5be61ab9f495d1e65a326685ef7
nitg: merge `-no-stacktrace` and `-nit-stacktrace` into a single `--stacktrace`

And make `gperf` the default (expect for nitg-g)

The C stack-trace only is unreadable for most users.

The dependence on gperf is fine since it is packaged if Debian.
The option `--stacktrace libunwind` disables it.
The option `--stacktrace none` disables the whole stacktrace.

Signed-off-by: Jean Privat <jean@pryen.org>
src/abstract_compiler.nit
src/nitg.nit