]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/doc/c-pj.texi
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / gas / doc / c-pj.texi
index 70600157bb4ba9f92a643347dcd97224b15eb91b..90dd3fbf9b91de429da4803b2b3dfa65916e2dfb 100644 (file)
@@ -1,4 +1,4 @@
-@c Copyright (C) 1999 Free Software Foundation, Inc.
+@c Copyright (C) 1999-2021 Free Software Foundation, Inc.
 @c This is part of the GAS manual.
 @c For copying conditions, see the file as.texinfo.
 @page
@@ -8,6 +8,7 @@
 @cindex PJ support
 @menu
 * PJ Options::              Options
+* PJ Syntax::               PJ Syntax
 @end menu
 
 @node PJ Options
@@ -15,7 +16,7 @@
 
 @cindex PJ options
 @cindex options, PJ
-@code{@value{AS}} has two addiitional command-line options for the picoJava
+@code{@value{AS}} has two additional command-line options for the picoJava
 architecture.
 @table @code
 @item -ml
@@ -25,4 +26,27 @@ This option selects little endian data output.
 This option selects big endian data output.
 @end table
 
+@node PJ Syntax
+@section PJ Syntax
+@menu
+* PJ-Chars::                Special Characters
+@end menu
+
+@node PJ-Chars
+@subsection Special Characters
+
+@cindex line comment character, PJ
+@cindex PJ line comment character
+The presence of a @samp{!} or @samp{/} on a line indicates the start
+of a comment that extends to the end of the current 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, PJ
+@cindex statement separator, PJ
+@cindex PJ line separator
+The @samp{;} character can be used to separate statements on the same
+line.