> Deciding which ones are comments depends on compiler.
>

Such things are part of the language.

> If you interpret them as two separate comments, then allowed=0 will run
> and it means that compiler does not allow.
>
> If compiler allows nested comments then it should interpret them
> as two "nested comments", one inside another
>
>  /* (start of first comment)
> /*  (second comment inside another) */
>  allowed=0; // */ (first comment ends here)
>

And what should alert the compiler that it should 'look ahead' and
search for the terminating */ instead of listening to the first //?
What you suggest is not practical.
Which returns me to my point of trusting such a compiler...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/algogeeks
-~----------~----~----~----~------~----~------~--~---

Reply via email to