Document the new c_comments feature.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3890 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
5d4790a137
commit
f1e0de512a
1 changed files with 13 additions and 0 deletions
|
@ -2236,6 +2236,19 @@ Here's a list of all control commands and a description, what they do:
|
||||||
at character is not allowed to start an identifier, even with this
|
at character is not allowed to start an identifier, even with this
|
||||||
feature enabled.
|
feature enabled.
|
||||||
|
|
||||||
|
<tag><tt>c_comments</tt></tag>
|
||||||
|
|
||||||
|
Allow C like comments using <tt>/*</tt> and <tt>*/</tt> as left and right
|
||||||
|
comment terminators. Note that C comments may not be nested. There's also a
|
||||||
|
pitfall when using C like comments: All statements must be terminated by
|
||||||
|
"end-of-line". Using C like comments, it is possible to hide the newline,
|
||||||
|
which results in error messages. See the following non working example:
|
||||||
|
|
||||||
|
<tscreen><verb>
|
||||||
|
lda #$00 /* This comment hides the newline
|
||||||
|
*/ sta $82
|
||||||
|
</verb></tscreen>
|
||||||
|
|
||||||
<tag><tt>dollar_in_identifiers</tt></tag>
|
<tag><tt>dollar_in_identifiers</tt></tag>
|
||||||
|
|
||||||
Accept the dollar sign (`$') as a valid character in identifiers. The
|
Accept the dollar sign (`$') as a valid character in identifiers. The
|
||||||
|
|
Loading…
Add table
Reference in a new issue