summaryrefslogtreecommitdiff
path: root/libguile/script.c
diff options
context:
space:
mode:
authorMikael Djurfeldt <djurfeldt@nada.kth.se>2000-04-18 11:30:00 +0000
committerMikael Djurfeldt <djurfeldt@nada.kth.se>2000-04-18 11:30:00 +0000
commit1dafc56acd52b6377f77587995a15896a6e4b274 (patch)
treea3d14bfd1f508fb5f4c3d345870d31605979b9a9 /libguile/script.c
parent230d095fc58e0fabfd8026e06e505b2ff62d6ec2 (diff)
downloadguile-1dafc56acd52b6377f77587995a15896a6e4b274.tar.gz
* script.c (scm_compile_shell_switches): Also enable
record-positions when given the --debug option. (Thanks to Diego Dainese.)
Diffstat (limited to 'libguile/script.c')
-rw-r--r--libguile/script.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libguile/script.c b/libguile/script.c
index 975943670..dce16c740 100644
--- a/libguile/script.c
+++ b/libguile/script.c
@@ -530,6 +530,7 @@ scm_compile_shell_switches (int argc, char **argv)
{
SCM_DEVAL_P = 1;
SCM_BACKTRACE_P = 1;
+ SCM_RECORD_POSITIONS_P = 1;
SCM_RESET_DEBUG_MODE;
}