Commit 54be724b authored by xHire's avatar xHire
Browse files

Comments

parent d99a4c54
...@@ -7,6 +7,22 @@ ...@@ -7,6 +7,22 @@
- all files are terminated with a \n - all files are terminated with a \n
%%% Comments
/* single line comment (before code) */
foo(); /* short comment on a line with code */
/* some in-code comment that spreads multiple lines; please note that it matters
* how you handle the beginning, continuation and ending of the comment
*/
/*
* Proper big comment has first line empty.
*
* Then it continues normally.
* And so is terminated.
*/
%%% If statements %%% If statements
if (var <= 64) { if (var <= 64) {
return 0; return 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment