comment problem lazarus / 13-General ---------------------------------------------------------------------- airpas · 2013-02-23 11:06 hi guys try put this on your source code (* (*) *)  every thing below this line will be a comment . btw : i use lazarus v1.0.4 ---------------------------------------------------------------------- BigChimp · 2013-02-23 11:35 You're right, same happens in current Lazarus trunk r40360. You can file a bug report if it bothers you. ---------------------------------------------------------------------- typo · 2013-02-23 12:28 I think it is not a bug, since (* (*) *) *) closes the comment. ---------------------------------------------------------------------- Martin_fr · 2013-02-23 12:55 This is correct behaviour. (It may be depending on the $mode directive, not sure). Fpc supports nested comments Code: [Select] (* comment not nested     (* comment, nested        (* comment, nested, twice        *) still comment, nested once     *) still comment, not nested  *)  no longer comment Code: [Select] (* (*) *) is twice "(*", then ")" (which does nothing) then "*)" which closes one comment The following works: Code: [Select]  { (*) } ---------------------------------------------------------------------- BigChimp · 2013-02-23 13:37 Oops. Yes