Jump to content
  • Advertisement
Sign in to follow this  
virious

Question: Semicolon after closing braces?

This topic is 2497 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Why it is not possible to use semicolons after closing braces like in C++? For example after enum or class declarations?

Thanks in advance!

Share this post


Link to post
Share on other sites
Advertisement
Is this something recent? I use rev 1094 in my project and I am able to put semicolons after end of classes and interfaces, they are just optional. I would be very sad if they are no longer allowed since some newer revision as it would greatly complicate things.

Share this post


Link to post
Share on other sites
It is supposed to work. It should be ignored by the script compiler, like TheAtom mentioned.

I just verified that this is still working properly and didn't find anything wrong.

Is there a specific script that you're having trouble compiling?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!