CO5570 Anonymous Questions and Answers Keyword Index |
This page provides a keyword index to questions and answers. Clicking on a keyword will take you to a page containing all questions and answers for that keyword, grouped by year.
To submit a question, use the anonymous questions page. You may find the keyword index and/or top-level index useful for locating past questions and answers.
Keyword reference for assign
2023 |
Submission reference: IN3452
Does the fi need to be followed with a semi colen?
The grammar will always tell you the answer to that, and it is the grammar you should use to code that check. A conditional is a statement and in the statements rule, every statement is followed by a semicolon. So you should not check for a semicolon in parseConditional but in parseStatements.
Keywords: assign
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License. |