changeset 10931:933a04abe0ac

* cmacexp.el (c-macro-expansion): put the unique string before the first #line directive (instead of after), preceded by a newline.
author Francesco Potortì <pot@gnu.org>
date Tue, 07 Mar 1995 15:24:44 +0000
parents 4dce98da5f8d
children df11ec79623a
files lisp/progmodes/cmacexp.el
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cmacexp.el	Tue Mar 07 04:57:02 1995 +0000
+++ b/lisp/progmodes/cmacexp.el	Tue Mar 07 15:24:44 1995 +0000
@@ -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 @@
 			   (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))