diff --git a/Nim-for-C-programmers.md b/Nim-for-C-programmers.md index c084cd1..514dbc0 100644 --- a/Nim-for-C-programmers.md +++ b/Nim-for-C-programmers.md @@ -129,8 +129,8 @@ Note: Code examples are not exactly one-to-one, there may be subtle differences
-/* This is a single-line comment */ -int x = 3; // another single-line comment +/* A single-line comment */ +int x = 3; // more comment // So is this
@@ -141,14 +141,16 @@ a multi-line comment // or maybe this way? // #if 0 - some code including comments to be ignored + some code + including comments + to be ignored #endif
-# This is a single-line comment -var x = 3 # another comment +# A single-line comment +var x = 3 # more comment
discard """ @@ -159,7 +161,8 @@ a multi-line comment # when false: a multi-line comment - (but must be indented to be included) + (but must be indented + to be included)