emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

C indentation error.


From: Michael Cadilhac
Subject: C indentation error.
Date: Sat, 11 Mar 2006 12:15:57 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

  Hi !

  I got an  error with some C indentation in  macro definitions in GNU
 Emacs 22.0.50.34 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of
 2006-03-02.

  Error is triggered by:

  With emacs -Q :
  In scratch, insert the following:

#foo :\
bar

  Toggle to c-mode, and try to indent the last line.

  I get: Invalid search bound (wrong side of point).

  Backtrace is:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Debugger entered--Lisp error: (error "Invalid search bound (wrong side of 
point)")
  re-search-forward("[[:?;{=*/%&|,<>address@hidden" 6647 t)
  (progn (setq search-pos (point)) (re-search-forward regexp bound noerror))
  (and (progn (setq search-pos ...) (re-search-forward regexp bound noerror)) 
(progn (setq state ... state-pos ...) (if ... ... ...) (cond ... ... ... ... 
... ... ... ...)) (or (/= search-pos ...) (if ... ... ... t)))
  (while (and (progn ... ...) (progn ... ... ...) (or ... ...)))
  (let ((start ...) tmp search-pos state (state-pos ...) check-pos check-state 
(last-token-end-pos ...) found) (while (and ... ... ...)) (if found (progn ... 
...) (if ... ... ...) nil))
  c-syntactic-re-search-forward("[[:?;{=*/%&|,<>address@hidden" 6647 t t)
  c-forward-label(nil 6592 6647)
  c-forward-label()
  c-guess-basic-syntax()
  c-indent-line()
  ...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

  Bye.

-- 
    Michael Cadilhac, a.k.a. Micha [mika] |
                    Epita/LRDE promo 2007 |   )\._.,--....,'``.
123 av. de Fontainebleau | 08.70.65.13.14 |  /.  _.. \   _\  (` ._,.
94270 Le Kremlin Bicetre | 06.23.20.31.30 | '._.-(,_..'--(,_...`-..'

Attachment: pgpIZgE1BRT0L.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]