Closed PeterBowman closed 6 years ago
Prior to this fix, no semicolon was needed after each instruction containing a CD macro (which I find rather counterintuitive and dangerous), see https://github.com/asrob-uc3m/robotDevastation/commit/962829a45c787435b12e1030e07c277c9cf344f9.
Oh yes, I agree requiring a semicolon is definitely better!
Thank you!!!!!
The following code breaks:
Turns out we are misusing all do-whiles: they should encompass the macro from start to end AND lack a trailing semicolon. See: