Document character escape sequences
authorAlan Modra <amodra@gmail.com>
Wed, 21 Dec 2016 08:37:55 +0000 (19:07 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 21 Dec 2016 08:39:38 +0000 (19:09 +1030)
PR gas/10946
* doc/as.texinfo (Chars): Document escape sequences.

gas/ChangeLog
gas/doc/as.texinfo

index 3b86e47dcca8026ebe4044cd1ffb7f59549cfe9e..6c923c316da515c2d7e1215d8fe55e54dc0b2a8a 100644 (file)
@@ -1,3 +1,8 @@
+2016-12-21  Alan Modra  <amodra@gmail.com>
+
+       PR gas/10946
+       * doc/as.texinfo (Chars): Document escape sequences.
+
 2016-12-20  Maciej W. Rozycki  <macro@imgtec.com>
 
        * testsuite/gas/mips/mips16-sub.d: New test.
index 4b14e081fb51398d55b47c80fb90cc0807d564e2..d83d2b305e201c20aa3f873db3f58f3d2c3a6d51 100644 (file)
@@ -3066,12 +3066,13 @@ sequence.
 @cindex single character constant
 @cindex character, single
 @cindex constant, single character
-A single character may be written as a single quote immediately
-followed by that character.  The same escapes apply to characters as
-to strings.  So if you want to write the character backslash, you
-must write @kbd{'\\} where the first @code{\} escapes the second
-@code{\}.  As you can see, the quote is an acute accent, not a
-grave accent.  A newline
+A single character may be written as a single quote immediately followed by
+that character.  Some backslash escapes apply to characters, @code{\b},
+@code{\f}, @code{\n}, @code{\r}, @code{\t}, and @code{\"} with the same meaning
+as for strings, plus @code{\'} for a single quote.  So if you want to write the
+character backslash, you must write @kbd{'\\} where the first @code{\} escapes
+the second @code{\}.  As you can see, the quote is an acute accent, not a grave
+accent.  A newline
 @ifclear GENERIC
 @ifclear abnormal-separator
 (or semicolon @samp{;})
This page took 0.03062 seconds and 4 git commands to generate.