summaryrefslogtreecommitdiff
path: root/gas/doc/c-sparc.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gas/doc/c-sparc.texi')
-rw-r--r--gas/doc/c-sparc.texi11
1 files changed, 9 insertions, 2 deletions
diff --git a/gas/doc/c-sparc.texi b/gas/doc/c-sparc.texi
index 7913606385f..3f758adb42c 100644
--- a/gas/doc/c-sparc.texi
+++ b/gas/doc/c-sparc.texi
@@ -1,4 +1,5 @@
-@c Copyright 1991, 1992, 1993, 1994, 1995, 1997, 1999, 2002, 2008
+@c Copyright 1991, 1992, 1993, 1994, 1995, 1997, 1999, 2002, 2008,
+@c 2011
@c Free Software Foundation, Inc.
@c This is part of the GAS manual.
@c For copying conditions, see the file as.texinfo.
@@ -131,7 +132,13 @@ for their UltraSPARC and Niagara line of processors.
@cindex line comment character, Sparc
@cindex Sparc line comment character
-@samp{#} is the line comment character.
+A @samp{!} character appearing anywhere on a line indicates the start
+of a comment that extends to the end of that line.
+
+If a @samp{#} appears as the first character of a line then the whole
+line is treated as a comment, but in this case the line could also be
+a logical line number directive (@pxref{Comments}) or a preprocessor
+control command (@pxref{Preprocessing}).
@cindex line separator, Sparc
@cindex statement separator, Sparc