diff options
Diffstat (limited to 'lispref/debugging.texi')
| -rw-r--r-- | lispref/debugging.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lispref/debugging.texi b/lispref/debugging.texi index cce112a0aa0..766fa64c001 100644 --- a/lispref/debugging.texi +++ b/lispref/debugging.texi | |||
| @@ -675,6 +675,7 @@ If @var{frame-number} is out of range, @code{backtrace-frame} returns | |||
| 675 | 675 | ||
| 676 | @node Syntax Errors | 676 | @node Syntax Errors |
| 677 | @section Debugging Invalid Lisp Syntax | 677 | @section Debugging Invalid Lisp Syntax |
| 678 | @cindex debugging invalid Lisp syntax | ||
| 678 | 679 | ||
| 679 | The Lisp reader reports invalid syntax, but cannot say where the real | 680 | The Lisp reader reports invalid syntax, but cannot say where the real |
| 680 | problem is. For example, the error ``End of file during parsing'' in | 681 | problem is. For example, the error ``End of file during parsing'' in |
| @@ -690,6 +691,8 @@ technique is to try @kbd{C-M-e} at the beginning of each defun, and see | |||
| 690 | if it goes to the place where that defun appears to end. If it does | 691 | if it goes to the place where that defun appears to end. If it does |
| 691 | not, there is a problem in that defun. | 692 | not, there is a problem in that defun. |
| 692 | 693 | ||
| 694 | @cindex unbalanced parentheses | ||
| 695 | @cindex parentheses mismatch | ||
| 693 | However, unmatched parentheses are the most common syntax errors in | 696 | However, unmatched parentheses are the most common syntax errors in |
| 694 | Lisp, and we can give further advice for those cases. (In addition, | 697 | Lisp, and we can give further advice for those cases. (In addition, |
| 695 | just moving point through the code with Show Paren mode enabled might | 698 | just moving point through the code with Show Paren mode enabled might |
| @@ -798,6 +801,7 @@ never return. If it ever does return, you get a run-time error. | |||
| 798 | 801 | ||
| 799 | @node Compilation Errors | 802 | @node Compilation Errors |
| 800 | @section Debugging Problems in Compilation | 803 | @section Debugging Problems in Compilation |
| 804 | @cindex debugging byte compilation problems | ||
| 801 | 805 | ||
| 802 | When an error happens during byte compilation, it is normally due to | 806 | When an error happens during byte compilation, it is normally due to |
| 803 | invalid syntax in the program you are compiling. The compiler prints a | 807 | invalid syntax in the program you are compiling. The compiler prints a |