diff options
| author | Francesco Potortì | 1995-03-07 15:24:44 +0000 |
|---|---|---|
| committer | Francesco Potortì | 1995-03-07 15:24:44 +0000 |
| commit | 521fffcd6f37b957885965df82deb6d84c15002e (patch) | |
| tree | 2502ac1ccf9c8eb2549d4ada0ef6f53e3929a676 | |
| parent | c4288b3aed0c42bca4cbcb316dcfaf5bd9607012 (diff) | |
| download | emacs-521fffcd6f37b957885965df82deb6d84c15002e.tar.gz emacs-521fffcd6f37b957885965df82deb6d84c15002e.zip | |
* cmacexp.el (c-macro-expansion): put the unique string before the
first #line directive (instead of after), preceded by a newline.
| -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 @@ | |||
| 3 | ;; Copyright (C) 1992, 1994 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1992, 1994 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Francesco Potorti` <pot@cnuce.cnr.it> | 5 | ;; Author: Francesco Potorti` <pot@cnuce.cnr.it> |
| 6 | ;; Version: $Id: cmacexp.el,v 1.17 1994/09/01 11:05:40 pot Exp rms $ | 6 | ;; Version: $Id: cmacexp.el,v 1.18 1994/09/05 04:33:23 rms Exp pot $ |
| 7 | ;; Adapted-By: ESR | 7 | ;; Adapted-By: ESR |
| 8 | ;; Keywords: c | 8 | ;; Keywords: c |
| 9 | 9 | ||
| @@ -291,14 +291,14 @@ Optional arg DISPLAY non-nil means show messages in the echo area." | |||
| 291 | (char-to-string startinstring)) | 291 | (char-to-string startinstring)) |
| 292 | (startincomment "*/") | 292 | (startincomment "*/") |
| 293 | ("")) | 293 | ("")) |
| 294 | (format "\n#line %d \"%s\"\n" startlinenum filename) | ||
| 295 | (setq startmarker | 294 | (setq startmarker |
| 296 | (concat uniquestring | 295 | (concat "\n" uniquestring |
| 297 | (cond (startinstring | 296 | (cond (startinstring |
| 298 | (char-to-string startinstring)) | 297 | (char-to-string startinstring)) |
| 299 | (startincomment "/*") | 298 | (startincomment "/*") |
| 300 | (startinbcomment "//")) | 299 | (startinbcomment "//")) |
| 301 | (if startafterquote "\\"))))) | 300 | (if startafterquote "\\"))) |
| 301 | (format "\n#line %d \"%s\"\n" startlinenum filename))) | ||
| 302 | 302 | ||
| 303 | ;; Call the preprocessor. | 303 | ;; Call the preprocessor. |
| 304 | (if display (message mymsg)) | 304 | (if display (message mymsg)) |