Content deleted Content added
Prosfilaes (talk | contribs) |
|||
Line 62:
: You can nest single-line comments by adding a comment marker to the start of the line, so you can comment out lines without worrying about existing comments.
: If you're feeding the wrong encoding into your compiler, there's your bug. I don't know how a trailing é (in UTF-8 16#c3# 16#a9#, or misinterpreted as Latin-1, "é") could cause the compiler to not see the end of line, though.--[[User:Prosfilaes|Prosfilaes]] ([[User talk:Prosfilaes|talk]]) 06:48, 4 March 2018 (UTC)
:: I guess it depends on how "nesting" is defined. I believe it is defined as a block comment within a block comment. While I see your point that an end-of-line comment can be within an end-of-line comment, I have never seen (except in this article) that called "nesting". IMO, the article should just say "Ada has end-of-line comments, started with --, and was intentionally designed not to use block comments", or equivalent wording, and give an example of an Ada comment. All the other text concerning Ada comments (eg, "designed to resemble the English language") is verbiage, IMO. [[Special:Contributions/207.225.245.125|207.225.245.125]] ([[User talk:207.225.245.125|talk]]) 17:41, 4 March 2018 (UTC)
|