diff options
author | Barry Warsaw <barry@python.org> | 1997-11-27 20:08:14 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1997-11-27 20:08:14 (GMT) |
commit | ffbc17da1925257c3a336129d5a681b0775da057 (patch) | |
tree | b9f2225dfa041ae57b998be1bf2d7300a1f487af | |
parent | 73ec2c008161fb2845c2a87314ede00db0d31c27 (diff) | |
download | cpython-ffbc17da1925257c3a336129d5a681b0775da057.zip cpython-ffbc17da1925257c3a336129d5a681b0775da057.tar.gz cpython-ffbc17da1925257c3a336129d5a681b0775da057.tar.bz2 |
(py-traceback-line-re): Relaxation of regexp to catch SyntaxErrors.
Harri Pasanen.
-rw-r--r-- | Misc/python-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 70faf2c..f7448f1 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -355,7 +355,7 @@ Currently-active file is at the head of the list.") ;; Regexp that describes tracebacks (defconst py-traceback-line-re - "[ \t]+File \"\\([^\"]+\\)\", line \\([0-9]+\\), in ") + "[ \t]+File \"\\([^\"]+\\)\", line \\([0-9]+\\)") @@ -1242,7 +1242,7 @@ exception in the exception stack." (buffer (if proc "*Python*" py-output-buffer))) (if top (py-find-next-exception 'bob buffer 're-search-forward "Top") - (py-find-next-exception 'boi buffer 're-search-backward "Top")))) + (py-find-next-exception 'bol buffer 're-search-backward "Top")))) ;; Electric deletion |