1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-11 00:53:46 +02:00

Fixed SAL effects so that correct line numbers are reported when an error occurs.

This commit is contained in:
rbdannenberg
2010-11-02 19:46:19 +00:00
parent 28661781be
commit 467aa5590a
3 changed files with 10 additions and 41 deletions

View File

@@ -1264,7 +1264,8 @@
(setf expr (parse-sexpr))
(if *sal-fn-name*
(add-line-info-to-stmt (list 'sal-return-from *sal-fn-name* expr) loc)
(list 'defun 'main '() (add-line-info-to-stmt expr loc)))))
(list 'defun 'main '() (list 'sal-trace-enter '(quote main) '() '())
(add-line-info-to-stmt expr loc)))))
(defun parse-load ()