Discussion: nested comments
Afficher un message
Vieux 26/12/2007, 12h43   #4
Rolf Magnus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: nested comments

Rahul wrote:

> Hi Everyone,
>
> I was wondering about the nested comments and the reason why it is
> not acceptable...


Mostly because the language definition says so, I guess.

>
> /*
> first
> /*
> second
> */
> */
>
> I guess it is easy for any lexer to recognize such text with the
> of recursive grammar rule and ignore them...
> does anyone have any idea about the reason why this is not allowed?


Maybe because there is no need for it.

  Réponse avec citation
 
Page generated in 0,04325 seconds with 9 queries