diff options
author | Nick Clifton <nickc@redhat.com> | 2009-07-08 09:43:51 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2009-07-08 09:43:51 +0000 |
commit | c6075b134c6292f624b3d3ae5543a34f9a78e4dd (patch) | |
tree | 2bc47670c91956487354c940cd36566cce44baf4 | |
parent | 3276e0b350b5f15dadccd2a5ddcce0de42739ce9 (diff) | |
download | gcc-c6075b134c6292f624b3d3ae5543a34f9a78e4dd.zip gcc-c6075b134c6292f624b3d3ae5543a34f9a78e4dd.tar.gz gcc-c6075b134c6292f624b3d3ae5543a34f9a78e4dd.tar.bz2 |
unix.h (ASM_COMMENT_START): Add a space after the forward slash.
* config/i386/unix.h (ASM_COMMENT_START): Add a space after the
forward slash.
From-SVN: r149363
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/unix.h | 11 |
2 files changed, 13 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fe86f87..78ee470 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-07-08 Nick Clifton <nickc@redhat.com> + + * config/i386/unix.h (ASM_COMMENT_START): Add a space after the + forward slash. + 2009-07-08 DJ Delorie <dj@redhat.com> * config/mep/mep-ivc2.cpu (cpmovtocsar0_C3, cpmovtocsar1_C3, diff --git a/gcc/config/i386/unix.h b/gcc/config/i386/unix.h index ae5d31d..aa6c4a3 100644 --- a/gcc/config/i386/unix.h +++ b/gcc/config/i386/unix.h @@ -35,9 +35,14 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see /* Define the syntax of pseudo-ops, labels and comments. */ -/* String containing the assembler's comment-starter. */ - -#define ASM_COMMENT_START "/" +/* String containing the assembler's comment-starter. + Note the trailing space is necessary in case the character + that immediately follows the comment is '*'. If this happens + and the space is not there the assembler will interpret this + as the start of a C-like slash-star comment and complain when + there is no terminator. */ + +#define ASM_COMMENT_START "/ " /* Output to assembler file text saying following lines may contain character constants, extra white space, comments, etc. */ |