| |||
Home > ARM Compiler Reference > Language extensions > C language extensions |
The compilers support the ANSI C language extensions described
below and in C and C++ language extensions.
The extensions are not available if the compiler is restricted to
compiling strict ANSI C, for example, by specifying the -strict
compiler
option.
The character sequence //
starts a comment.
As in C++, the comment is terminated by the next newline character.
Comment removal takes place after line continuation, so:
// this is a - \ single comment
The characters of a comment are examined only to find the comment terminator, therefore:
//
has no
special significance inside a comment introduced by /*
/*
has no special significance
inside a comment introduced by //