# HG changeset patch # User Francesco Potort # Date 794589884 0 # Node ID 933a04abe0acc6e45e622635fb08e47d41d270c3 # Parent 4dce98da5f8de559563707438ee5d7500f9ecff2 * cmacexp.el (c-macro-expansion): put the unique string before the first #line directive (instead of after), preceded by a newline. diff -r 4dce98da5f8d -r 933a04abe0ac lisp/progmodes/cmacexp.el --- 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` -;; 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))