aboutsummaryrefslogtreecommitdiff
path: root/gas/doc/c-score.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gas/doc/c-score.texi')
-rw-r--r--gas/doc/c-score.texi28
1 files changed, 27 insertions, 1 deletions
diff --git a/gas/doc/c-score.texi b/gas/doc/c-score.texi
index 0820115..3af20a3 100644
--- a/gas/doc/c-score.texi
+++ b/gas/doc/c-score.texi
@@ -1,4 +1,4 @@
-@c Copyright 2009
+@c Copyright 2009, 2011
@c Free Software Foundation, Inc.
@c This is part of the GAS manual.
@c For copying conditions, see the file as.texinfo.
@@ -16,6 +16,7 @@
@menu
* SCORE-Opts:: Assembler options
* SCORE-Pseudo:: SCORE Assembler Directives
+* SCORE-Syntax:: Syntax
@end menu
@node SCORE-Opts
@@ -140,3 +141,28 @@ Switch the destination of following statements into the bss section,
which is used for data that is uninitialized anywhere.
@end table
+
+@node SCORE-Syntax
+@section SCORE Syntax
+@menu
+* SCORE-Chars:: Special Characters
+@end menu
+
+@node SCORE-Chars
+@subsection Special Characters
+
+@cindex line comment character, SCORE
+@cindex SCORE line comment character
+The presence of a @samp{#} 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 can also be a
+logical line number directive (@pxref{Comments}) or a preprocessor
+control command (@pxref{Preprocessing}).
+
+@cindex line separator, SCORE
+@cindex statement separator, SCORE
+@cindex SCORE line separator
+The @samp{;} character can be used to separate statements on the same
+line.