mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Fixed a note in "ca65.sgml".
String escapes are converted to a target platform's encoding.
This commit is contained in:
parent
055c294ac0
commit
c37582bb00
@ -2835,19 +2835,18 @@ Here's a list of all control commands and a description, what they do:
|
||||
|
||||
Allow C-style backslash escapes within string constants to embed
|
||||
special characters. The following escapes are accepted:
|
||||
<itemize>
|
||||
<item><tt>\\</tt> backslash (<tt>$5C</tt>)
|
||||
<item><tt>\'</tt> single quote (<tt>$27</tt>)
|
||||
<item><tt>\"</tt> double quote (<tt>$22</tt>)
|
||||
<item><tt>\t</tt> tab (<tt>$09</tt>)
|
||||
<item><tt>\r</tt> carriage return (<tt>$0D</tt>)
|
||||
<item><tt>\n</tt> newline (<tt>$0A</tt>)
|
||||
<item><tt>\xNN</tt> (<tt>$NN</tt>)
|
||||
</itemize>
|
||||
|
||||
<itemize>
|
||||
<item><tt>\\</tt> backslash (<tt>$5C</tt>)
|
||||
<item><tt>\'</tt> single quote (<tt>$27</tt>)
|
||||
<item><tt>\"</tt> double quote (<tt>$22</tt>)
|
||||
<item><tt>\t</tt> tab (<tt>$09</tt>)
|
||||
<item><tt>\r</tt> carriage return (<tt>$0D</tt>)
|
||||
<item><tt>\n</tt> newline (<tt>$0A</tt>)
|
||||
<item><tt>\xNN</tt> (<tt>$NN</tt>)
|
||||
</itemize>
|
||||
|
||||
Note that <tt>\n</tt> maps to ASCII <tt>$0A</tt>, not a platform specific
|
||||
line ending character.
|
||||
Note that string escapes are converted to platform-specific characters in
|
||||
the same way that other characters are converted.
|
||||
|
||||
<tag><tt>ubiquitous_idents</tt><label id="ubiquitous_idents"></tag>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user