[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CC mode bug in branch
From: |
Chong Yidong |
Subject: |
CC mode bug in branch |
Date: |
Fri, 29 Feb 2008 13:19:59 -0500 |
Alan,
2008-02-25 Alan Mackenzie <address@hidden>
* progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix a bug on
typing "#" at EOB.
This introduced a serious bug into CC mode on the branch. To
reproduce,
1. emacs -Q emacs/src/xdisp.c
2. /*
This triggers an error: "Invalid search bound (wrong side of point)"
With debug-on-error on:
Debugger entered--Lisp error: (error "Invalid search bound (wrong side of
point)")
search-forward-regexp("^\\s *#\\s *" 3 t)
c-neutralize-syntax-in-CPP(2 3 0)
c-after-change(2 3 0)
self-insert-command(1)
c-electric-star(nil)
call-interactively(c-electric-star)
Please fix this ASAP, thanks.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- CC mode bug in branch,
Chong Yidong <=