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