From: uz Date: Thu, 21 Aug 2008 19:42:52 +0000 (+0000) Subject: Document the new c_comments feature. X-Git-Tag: V2.13.0rc1~365 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f1e0de512a2a17e4462af0f5cc3456a1dec90ed8;p=cc65 Document the new c_comments feature. git-svn-id: svn://svn.cc65.org/cc65/trunk@3890 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/doc/ca65.sgml b/doc/ca65.sgml index 4f792131e..96c5989f2 100644 --- a/doc/ca65.sgml +++ b/doc/ca65.sgml @@ -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 feature enabled. + c_comments + + Allow C like comments using /* and */ 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: + + + lda #$00 /* This comment hides the newline +*/ sta $82 + + dollar_in_identifiers Accept the dollar sign (`$') as a valid character in identifiers. The