Menu

#3 Ignore 'for' keyword

1.0
open
nobody
None
2014-09-30
2014-09-30
John Dalbey
No

Don't do anything special about 'for' statements. The semicolons within
the conditional can be considered statements; it's not an accident
that the semicolon was used as the separator in the language definition.
Besides, just looking for the 'for' keyword also catches for-each statements,
which have no semicolons, and identifiers like 'fortune' or 'therefore'.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.