1.2.1. Comments

Two types of comment are supported:

Line comments

These start with "//"and end at the end of the current line.

Block comments

These start with "/*"and end with "*/".

As with C, it is not possible to nest block comments.

In the code "/* a /* b */ c */ …", the part after c */ is not in a comment and probably leads to a syntax error.

Note

Comments cannot occur in string constants.

Copyright © 2007-2011 ARM. All rights reserved.ARM DUI 0371J
Non-ConfidentialID051712