diff options
author | Francesco Potortì <pot@gnu.org> | 1995-03-07 15:24:44 +0000 |
---|---|---|
committer | Francesco Potortì <pot@gnu.org> | 1995-03-07 15:24:44 +0000 |
commit | 521fffcd6f37b957885965df82deb6d84c15002e (patch) | |
tree | 2502ac1ccf9c8eb2549d4ada0ef6f53e3929a676 /lisp/progmodes/cmacexp.el | |
parent | c4288b3aed0c42bca4cbcb316dcfaf5bd9607012 (diff) | |
download | emacs-521fffcd6f37b957885965df82deb6d84c15002e.tar.gz |
* cmacexp.el (c-macro-expansion): put the unique string before the
first #line directive (instead of after), preceded by a newline.
Diffstat (limited to 'lisp/progmodes/cmacexp.el')
-rw-r--r-- | lisp/progmodes/cmacexp.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/progmodes/cmacexp.el b/lisp/progmodes/cmacexp.el index 46eb72cc548..70969475104 100644 --- a/lisp/progmodes/cmacexp.el +++ b/lisp/progmodes/cmacexp.el @@ -3,7 +3,7 @@ ;; Copyright (C) 1992, 1994 Free Software Foundation, Inc. ;; Author: Francesco Potorti` <pot@cnuce.cnr.it> -;; Version: $Id: cmacexp.el,v 1.17 1994/09/01 11:05:40 pot Exp rms $ +;; Version: $Id: cmacexp.el,v 1.18 1994/09/05 04:33:23 rms Exp pot $ ;; Adapted-By: ESR ;; Keywords: c @@ -291,14 +291,14 @@ Optional arg DISPLAY non-nil means show messages in the echo area." (char-to-string startinstring)) (startincomment "*/") ("")) - (format "\n#line %d \"%s\"\n" startlinenum filename) (setq startmarker - (concat uniquestring + (concat "\n" uniquestring (cond (startinstring (char-to-string startinstring)) (startincomment "/*") (startinbcomment "//")) - (if startafterquote "\\"))))) + (if startafterquote "\\"))) + (format "\n#line %d \"%s\"\n" startlinenum filename))) ;; Call the preprocessor. (if display (message mymsg)) |